Last active
July 5, 2018 19:25
-
-
Save suricactus/c2c40a9711cd123508c3b414aea1b235 to your computer and use it in GitHub Desktop.
eslintrc
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
{ | |
"extends": ["eslint:recommended", "semistandard-react"], | |
"rules": { | |
"comma-dangle": ["error", "always-multiline"], | |
"jsx-quotes": ["error", "prefer-double"], | |
"max-depth": ["error", 4], | |
"max-params": ["error", 3], | |
"max-depth": ["error", 4], | |
"max-nested-callbacks": ["error", 3], | |
"complexity": ["warn", 20], | |
"prefer-arrow-callback": ["error"], | |
"prefer-spread": ["error"], | |
"prefer-rest-params": ["error"], | |
"prefer-template": ["error"], | |
"no-useless-concat": ["error"], | |
"symbol-description": ["error"], | |
"arrow-spacing": ["error"], | |
"no-confusing-arrow": ["error", { "allowParens": true }] | |
"rest-spread-spacing": ["error", "never"], | |
"no-var": ["error"], | |
"prefer-const": ["error", { | |
"destructuring": "any", | |
"ignoreReadBeforeAssign": false | |
}] | |
"max-len": ["error", { | |
"code": 80, | |
"ignoreComments": true, | |
"ignoreUrls": true, | |
"ignoreStrings": true, | |
"ignoreTemplateLiterals": true, | |
"ignoreRegExpLiterals": true | |
}] | |
}, | |
"parserOptions": { | |
"ecmaVersion": 2018 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment