Created
September 12, 2018 08:21
-
-
Save DimaDaxDadeco/73d5514f66961bf4e7822ce26b98f87d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"env": { | |
"browser": true, | |
"es6": true | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"ecmaFeatures": { | |
"experimentalObjectRestSpread": true, | |
"jsx": true | |
}, | |
"sourceType": "module" | |
}, | |
"plugins": [ | |
"react" | |
], | |
"rules": { | |
"comma-dangle": 1, | |
"no-cond-assign": [2, "always"], | |
"no-constant-condition": 2, | |
"no-debugger": 1, | |
"no-dupe-args": 2, | |
"no-dupe-keys": 2, | |
"no-duplicate-case": 2, | |
"no-invalid-regexp": 2, | |
"no-irregular-whitespace": 2, | |
"no-obj-calls": 2, | |
"no-regex-spaces": 2, | |
"no-sparse-arrays": 2, | |
"no-unexpected-multiline": 2, | |
"no-unreachable": 2, | |
"use-isnan": 2, | |
"valid-jsdoc": 1, | |
"valid-typeof": 2, | |
"block-scoped-var": 2, | |
"curly": 2, | |
"default-case": 2, | |
"dot-location": [2, "property"], | |
"dot-notation": 2, | |
"eqeqeq": [2, "smart"], | |
"no-alert": 1, | |
"no-caller": 2, | |
"no-case-declarations": 2, | |
"no-console": 1, | |
"no-div-regex": 2, | |
"no-else-return": 2, | |
"no-empty-pattern": 2, | |
"no-eq-null": 2, | |
"no-eval": 2, | |
"no-fallthrough": 2, | |
"no-floating-decimal": 2, | |
"no-implicit-coercion": 2, | |
"no-implied-eval": 2, | |
"no-iterator": 2, | |
"no-labels": 2, | |
"no-loop-func": 2, | |
"no-multi-spaces": 2, | |
"no-magic-numbers": [1, { "ignore": [-1, 0, 1] }], | |
"no-multi-str": 2, | |
"no-native-reassign": 2, | |
"no-new-func": 2, | |
"no-new-wrappers": 2, | |
"no-new": 2, | |
"no-octal-escape": 2, | |
"no-octal": 2, | |
"no-process-env": 1, | |
"no-proto": 2, | |
"no-redeclare": [2, { "builtinGlobals": true }], | |
"no-return-assign": [2, "always"], | |
"no-script-url": 2, | |
"no-self-compare": 2, | |
"no-sequences": 2, | |
"no-throw-literal": 2, | |
"no-unused-expressions": [2, { "allowShortCircuit": true, "allowTernary": true }], | |
"no-useless-call": 2, | |
"no-useless-concat": 2, | |
"no-void": 2, | |
"no-warning-comments": 1, | |
"no-with": 2, | |
"radix": 2, | |
"vars-on-top": 2, | |
"wrap-iife": [2, "outside"], | |
"strict": 0, | |
"no-catch-shadow": 2, | |
"no-delete-var": 2, | |
"no-label-var": 2, | |
"no-shadow": [1, { "builtinGlobals": true, "hoist": "functions", "allow": ["self"] }], | |
"no-undef-init": 2, | |
"no-undef": 2, | |
"no-unused-vars": 2, | |
"no-use-before-define": 2, | |
"no-new-require": 2, | |
"array-bracket-spacing": [2, "never"], | |
"block-spacing": 2, | |
"brace-style": 2, | |
"camelcase": 2, | |
"comma-spacing": [2, { "before": false, "after": true }], | |
"comma-style": [2, "last"], | |
"computed-property-spacing": [2, "never"], | |
"quotes": [1, "double"], | |
"key-spacing": [2, { "beforeColon": false, "afterColon": true }], | |
"new-cap": 2, | |
"no-array-constructor": 2, | |
"no-lonely-if": 2, | |
"no-mixed-spaces-and-tabs": 2, | |
"no-negated-condition": 2, | |
"no-nested-ternary": 2, | |
"no-spaced-func": 2, | |
"no-trailing-spaces": 2, | |
"no-unneeded-ternary": 2, | |
"object-curly-spacing": [2, "always"], | |
"one-var": [2, "never"], | |
"operator-assignment": [2, "always"], | |
"operator-linebreak": [2, "after"], | |
"quote-props": [2, "as-needed"], | |
"semi-spacing": 2, | |
"semi": [2, "always"], | |
"space-before-blocks": 2, | |
"space-before-function-paren": [2, { "anonymous": "always", "named": "never" }], | |
"space-in-parens": [2, "never"], | |
"space-infix-ops": 2, | |
"keyword-spacing": 2, | |
"arrow-body-style": [2, "as-needed"], | |
"arrow-spacing": 2, | |
"arrow-parens": [2, "as-needed"], | |
"no-confusing-arrow": 2, | |
"no-class-assign": 2, | |
"no-const-assign": 2, | |
"no-dupe-class-members": 2, | |
"no-var": 2, | |
"object-shorthand": 2, | |
"prefer-arrow-callback": 2, | |
"prefer-const": 2, | |
"prefer-spread": 2, | |
"prefer-template": 2, | |
"require-yield": 0, | |
"react/prefer-es6-class": 2, | |
"react/react-in-jsx-scope": 2, | |
"react/jsx-uses-vars": 2, | |
"react/jsx-uses-react": 2, | |
"react/no-deprecated": 2, | |
"react/no-direct-mutation-state": 2, | |
"react/no-unused-prop-types": 1, | |
"react/require-render-return": 2, | |
"react/self-closing-comp": 1, | |
"react/sort-comp": 1, | |
"react/style-prop-object": 2, | |
"react/jsx-boolean-value": 1, | |
"react/jsx-closing-bracket-location": 1, | |
"react/jsx-key": 2, | |
"react/jsx-no-bind": 2, | |
"react/jsx-no-duplicate-props": 2, | |
"react/jsx-equals-spacing": 1, | |
"react/jsx-no-undef": 2, | |
"react/jsx-pascal-case": 1, | |
"react/jsx-space-before-closing": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment