forked from ttag-org/babel-plugin-ttag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
29 lines (29 loc) · 769 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
{
"env": {"mocha": true},
"globals": {
"_": true
},
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"no-unused-expressions": "off",
"no-unused-vars": ["error", { "varsIgnorePattern": "^_$" }],
"prefer-const": ["error", {"destructuring": "all"}],
"no-underscore-dangle": ["error", {"allow": [
"_C3PO_visited",
"_C3PO_GETTEXT_CONTEXT",
"_ORIGINAL_NODE"
]}],
"indent": [2, 4, {"SwitchCase": 1}],
"import/no-unresolved": 0,
"no-template-curly-in-string": 0,
"class-methods-use-this": 0,
"no-plusplus": 0,
"no-param-reassign": 0,
"max-classes-per-file": 0,
"no-restricted-syntax": 0,
"no-useless-escape": 0,
"no-continue": 0,
"import/prefer-default-export": 0
}
}