Last active
August 6, 2018 07:17
-
-
Save damoclark/1c771bdb18f7fddc4c510818a78d210d to your computer and use it in GitHub Desktop.
eslint
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
node_modules | |
tmp |
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": { | |
"node": true, | |
"es6": true | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"ecmaVersion": 8, | |
"sourceType": "module" | |
}, | |
"rules": { | |
"key-spacing": [ | |
"error", | |
{ | |
"afterColon": true | |
} | |
], | |
"space-before-function-paren": [ | |
"error", | |
{ | |
"anonymous": "never", | |
"named": "never", | |
"asyncArrow": "always" | |
} | |
], | |
"curly": [ | |
"error", | |
"multi-or-nest", | |
"consistent" | |
], | |
"brace-style": [ | |
"error", | |
"stroustrup", | |
{ | |
"allowSingleLine": false | |
} | |
], | |
"comma-spacing": [ | |
"error", | |
{ | |
"before": false, | |
"after": true | |
} | |
], | |
"dot-location": [ | |
"error", | |
"property" | |
], | |
"indent": [ | |
"error", | |
"tab", | |
{ | |
"MemberExpression": 0, | |
"FunctionExpression": { | |
"body": 1, | |
"parameters": 0 | |
}, | |
"FunctionDeclaration": { | |
"body": 1, | |
"parameters": 0 | |
}, | |
"outerIIFEBody": 0, | |
"VariableDeclarator": 1, | |
"CallExpression": { | |
"arguments": 1 | |
}, | |
"ArrayExpression": 1, | |
"ObjectExpression": 1, | |
"ImportDeclaration": 0, | |
"flatTernaryExpressions": true | |
} | |
], | |
"linebreak-style": [ | |
"error", | |
"unix" | |
], | |
"quotes": [ | |
"error", | |
"single" | |
], | |
"semi": [ | |
"error", | |
"always" | |
], | |
"semi-spacing": [ | |
"error", | |
{ | |
"before": true, | |
"after": true | |
} | |
], | |
"no-extra-semi": "error", | |
"no-console": "off" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment