forked from liuderchi/atom-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
35 lines (35 loc) · 760 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
28
29
30
31
32
33
34
35
{
"_source": "http://amobiz.github.io/2015/12/21/applying-eslint-using-atom-linter-eslint/",
"_NOTE": "copy this file to folder you want; rename it as .eslintrc.*; if possible reload text editor;",
"eslintConfig": {
"root": true
},
"env": {
"browser": true,
"node": true,
"commonjs": true,
"es6": true
},
"globals": {
"atom": true,
"describe": true,
"it": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-console":0,
"no-unused-vars": [
1,
{
"vars": "all",
"args": "after-used"
}],
"indent": ["warn", 2],
"semi": [0, "always"],
"quotes": [1, "single"],
"linebreak-style": [1, "unix"]
}
}