forked from foolip/mdn-bcd-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.json
35 lines (35 loc) · 954 Bytes
/
.eslintrc.json
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
{
"extends": [
"eslint:recommended",
"google",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"plugins": ["@typescript-eslint", "prefer-arrow", "prettier"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"rules": {
"comma-dangle": ["error", "never"],
"curly": ["error", "all"],
"max-len": "off",
"indent": "off",
"no-else-return": "error",
"no-unused-vars": ["error", {"varsIgnorePattern": "^_$"}],
"prefer-arrow/prefer-arrow-functions": "error",
"quotes": "off",
"quote-props": ["error", "as-needed"],
"require-jsdoc": "off",
"space-before-function-paren": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off"
},
"env": {
"es6": true,
"mocha": true,
"node": true
}
}