forked from jneen/parsimmon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
29 lines (29 loc) · 902 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
{
"extends": ["eslint:recommended"],
"rules": {
"brace-style": ["warn", "1tbs", {"allowSingleLine": true}],
"comma-style": ["warn", "last"],
"dot-notation": "warn",
"eol-last": "error",
"indent": ["warn", 2],
"key-spacing": "warn",
"keyword-spacing": "warn",
"linebreak-style": ["error", "unix"],
"no-alert": "error",
"no-caller": "error",
"no-eval": "error",
"no-multiple-empty-lines": "warn",
"no-unused-vars": ["error", {"caughtErrorsIgnorePattern": "^_"}],
"no-useless-concat": "warn",
"no-useless-escape": "warn",
"no-with": "error",
"object-curly-spacing": ["warn", "never"],
"one-var": ["warn", "never"],
"quote-props": ["warn", "as-needed"],
"quotes": ["warn", "single"],
"semi-spacing": "warn",
"semi": "warn",
"space-before-function-paren": ["warn", "never"],
"space-in-parens": "warn"
}
}