-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc
27 lines (27 loc) · 952 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{
// http://eslint.org/docs/user-guide/configuring.html
// https://gist.github.com/cletusw/e01a85e399ab563b1236
"parserOptions": {
"sourceType": "module", // https://github.com/AtomLinter/linter-eslint/issues/462#issuecomment-190770417
"ecmaVersion": 8,
"ecmaFeatures": { // http://eslint.org/docs/user-guide/migrating-to-2.0.0#language-options
"jsx": true
}
},
"env": {
"browser": false,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"plugins": [],
"rules": {
"indent": [ "error", 4, {"SwitchCase": 1} ],
"linebreak-style": [ "error", "unix" ],
"no-console": "off",
"no-debugger": "off",
"no-shadow": "off",
"quotes": "off", // http://eslint.org/docs/rules/quotes
"semi": [ "error", "always" ]
}
}