1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- {
- "extends": [
- "eslint:recommended",
- "plugin:react/recommended",
- "plugin:import/errors",
- "plugin:import/warnings"
- ],
-
- "env": {
- "browser": true,
- "es6": true,
- "jest": true,
- "node": true
- },
-
- "globals": {
- "key": true,
- "d3": true,
- "baseUrl": true
- },
-
- "parser": "babel-eslint",
-
- "plugins": [
- "react",
- "import"
- ],
-
- "rules": {
- "arrow-spacing": 2,
- "comma-spacing": 2,
- "curly": 2,
- "eol-last": 2,
- "eqeqeq": [2, "smart"],
- "indent": [2, 2, { "SwitchCase": 1, "VariableDeclarator": 2 }],
- "jsx-quotes": 2,
- "key-spacing": 2,
- "no-multi-spaces": 2,
- "no-self-compare": 2,
- "no-unexpected-multiline": 2,
- "max-len": [2, 120],
- "no-const-assign": 2,
- "no-multiple-empty-lines": [2, { "max": 3 }],
- "no-spaced-func": 2,
- "no-this-before-super": 2,
- "no-trailing-spaces": 2,
- "no-unneeded-ternary": 2,
- "object-curly-spacing": [2, "always"],
- "no-var": 2,
- "object-shorthand": 2,
- "one-var": [2, { "let": "never", "const": "never" }],
- "quotes": [2, "single", "avoid-escape"],
- "prefer-const": 2,
- "semi": [2, "always"],
- "keyword-spacing": 2,
-
- "react/display-name": 0,
- "react/no-find-dom-node": 0,
- "react/prop-types": 0
- },
-
- "settings": {
- "import/ignore": [
- "node_modules",
- "hbs$"
- ]
- }
- }
|