Created
November 19, 2016 13:32
-
-
Save berlysia/1523cafa690fc98d95187ac3ce2f7320 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, | |
"node": true | |
}, | |
"extends": "eslint:all", | |
"parser": "babel-eslint", | |
"plugins": [ | |
"eslint-comments" | |
], | |
"rules": { | |
"arrow-parens": [ | |
2, | |
"as-needed" | |
], | |
"comma-dangle": 0, | |
"dot-location": [ | |
2, | |
"property" | |
], | |
"eslint-comments/disable-enable-pair": 2, | |
"eslint-comments/no-duplicate-disable": 2, | |
"eslint-comments/no-unlimited-disable": 2, | |
"eslint-comments/no-unused-disable": 2, | |
"eslint-comments/no-unused-enable": 2, | |
"func-style": [ | |
2, | |
"declaration", | |
{ | |
"allowArrowFunctions": true | |
} | |
], | |
"id-length": 0, | |
"indent": [ | |
2, | |
4 | |
], | |
"linebreak-style": [ | |
2, | |
"unix" | |
], | |
"max-lines": [ | |
2, | |
{ | |
"max": 1000 | |
} | |
], | |
"max-params": [ | |
2, | |
{ | |
"max": 4 | |
} | |
], | |
"max-statements": [ | |
2, | |
{ | |
"max": 32 | |
} | |
], | |
"multiline-ternary": 0, | |
"no-bitwise": [ | |
"error", | |
{ | |
"int32Hint": true | |
} | |
], | |
"no-confusing-arrow": 0, | |
"no-magic-numbers": 0, | |
"no-mixed-operators": 0, | |
"no-ternary": 0, | |
"no-underscore-dangle": 0, | |
"no-use-before-define": [ | |
2, | |
{ | |
"functions": false | |
} | |
], | |
"one-var": 0, | |
"padded-blocks": 0, | |
"require-jsdoc": 0, | |
"sort-keys": 0 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment