Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "parser": "babel-eslint",
- "env": {
- "browser": true,
- "commonjs": true,
- "node": true,
- "es6": true
- },
- "ecmaFeatures ": {
- "arrowFunctions": true,
- "blockBindings": true,
- "forOf": true,
- "classes": true,
- "jsx": true,
- "templateStrings": true
- },
- "plugins": [
- "react"
- ],
- "settings": {
- "jsx": true
- },
- "globals": {},
- "rules": {
- "strict": [1, "global"],
- "max-len": [2, 120, 4, {"ignoreUrls": true}],
- "comma-dangle": [1, "never"],
- "no-console": 1,
- "no-constant-condition": 1,
- "no-control-regex": 1,
- "no-debugger": 1,
- "no-dupe-args": 1,
- "no-dupe-keys": 1,
- "no-duplicate-case": 1,
- "no-empty-character-class": 1,
- "no-empty": 1,
- "no-ex-assign": 1,
- "no-extra-boolean-cast": 1,
- "no-extra-parens": [1, "functions"],
- "no-extra-semi": 1,
- "no-func-assign": 1,
- "no-inner-declarations": [1, "both"],
- "no-invalid-regexp": 1,
- "no-irregular-whitespace": 1,
- "no-negated-in-lhs": 1,
- "no-obj-calls": 1,
- "no-regex-spaces": 1,
- "no-sparse-arrays": 1,
- "no-unreachable": 1,
- "use-isnan": 1,
- "valid-jsdoc": [1, {
- "requireReturn": false,
- "requireParamDescription": false,
- "requireReturnDescription": false
- }],
- "valid-typeof": 1,
- "no-unexpected-multiline": 1,
- "accessor-pairs": 1,
- "block-scoped-var": 1,
- "complexity": 0,
- "consistent-return": 1,
- "curly": 1,
- "default-case": 0,
- "camelcase": 1,
- "dot-notation": [1, {
- "allowPattern": "^[a-z]+(_[a-z]+)+$"
- }],
- "dot-location": [1, "property"],
- "eqeqeq": [1, "smart"],
- "guard-for-in": 1,
- "no-alert": 1,
- "no-caller": 1,
- "no-div-regex": 1,
- "no-else-return": 1,
- "no-empty-label": 1,
- "no-eq-null": 1,
- "no-eval": 1,
- "no-extend-native": 0,
- "no-extra-bind": 1,
- "no-fallthrough": 0,
- "no-floating-decimal": 1,
- "no-implicit-coercion": 0,
- "no-implied-eval": 1,
- "no-invalid-this": 1,
- "no-iterator": 1,
- "no-labels": 1,
- "no-lone-blocks": 1,
- "no-loop-func": 1,
- "no-multi-spaces": 1,
- "no-multi-str": 1,
- "no-native-reassign": 1,
- "no-new-func": 1,
- "no-new-wrappers": 1,
- "no-new": 1,
- "no-octal-escape": 1,
- "no-octal": 1,
- "no-param-reassign": 0,
- "no-process-env": 1,
- "no-proto": 1,
- "no-redeclare": 1,
- "no-return-assign": 1,
- "no-script-url": 1,
- "no-self-compare": 1,
- "no-sequences": 1,
- "no-throw-literal": 1,
- "no-unused-expressions": 1,
- "no-useless-call": 1,
- "no-void": 1,
- "no-warning-comments": 1,
- "no-with": 1,
- "radix": 1,
- "vars-on-top": 1,
- "wrap-iife": [1, "inside"],
- "yoda": [1, "never", {
- "exceptRange": false,
- "onlyEquality": false
- }],
- "init-declarations": 0,
- "no-catch-shadow": 1,
- "no-delete-var": 1,
- "no-shadow-restricted-names": 1,
- "no-shadow": 0,
- "no-undef-init": 1,
- "no-undef": 1,
- "no-undefined": 1,
- "no-unused-vars": 1,
- "no-use-before-define": [1, "nofunc"],
- "arrow-parens": [1, "as-needed"],
- "arrow-spacing": 1,
- "constructor-super": 1,
- "generator-star-spacing": 1,
- "no-class-assign": 1,
- "no-const-assign": 1,
- "no-dupe-class-members": 1,
- "no-this-before-super": 1,
- "no-var": 1,
- "object-shorthand": [1, "always"],
- "prefer-arrow-callback": 1,
- "prefer-const": 0,
- "prefer-spread": 1,
- "prefer-reflect": [1, {
- "exceptions": ["apply", "call"]
- }],
- "prefer-template": 0,
- "require-yield": 1,
- "react/display-name": [1, {
- "acceptTranspilerName": true
- }],
- "react/jsx-boolean-value": [1, "never"],
- "react/jsx-curly-spacing": [1, "never"],
- "react/jsx-max-props-per-line": [1, {"maximum": 4}],
- "react/jsx-no-duplicate-props": [1, { "ignoreCase": true }],
- "react/jsx-no-literals": 0,
- "react/jsx-no-undef": 1,
- "react/jsx-quotes": [1, "double", "avoid-escape"],
- "react/jsx-sort-prop-types": 0,
- "react/jsx-sort-props": 0,
- "react/jsx-uses-react": 1,
- "react/jsx-uses-vars": 1,
- "react/no-danger": 1,
- "react/no-did-mount-set-state": [1, "allow-in-func"],
- "react/no-did-update-set-state": 1,
- "react/no-multi-comp": 1,
- "react/no-unknown-property": 2,
- "react/prop-types": 0,
- "react/react-in-jsx-scope": 1,
- "react/require-extension": [1, {"extensions": [".js", ".jsx"]}],
- "react/self-closing-comp": 1,
- "react/sort-comp": [1, {
- "order": ["lifecycle", "/^on.+$/", "everything-else", "rendering"],
- "groups": {
- "rendering": ["/^render.+$/", "render"]
- }
- }],
- "react/wrap-multilines": 1
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement