-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
35 lines (35 loc) · 1 KB
/
.eslintrc.js
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
/* eslint-env node */
module.exports = {
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:ava/recommended",
"plugin:unicorn/recommended",
],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "unicorn", "ava"],
root: true,
rules: {
"no-await-in-loop": "error",
"unicorn/switch-case-braces": "off",
"import/no-extraneous-dependencies": "off",
"unicorn/prefer-node-protocol": "off",
"import/extensions": "off",
"@typescript-eslint/naming-convention": "off",
"unicorn/expiring-todo-comments": "off",
"unicorn/prefer-logical-operator-over-ternary": "off",
"unicorn/consistent-destructuring": "off",
"unicorn/prefer-module": "off",
"unicorn/prevent-abbreviations": "off",
"unicorn/consistent-function-scoping": "off",
"unicorn/prefer-string-replace-all": "off",
},
overrides: [
{
files: ".ts",
parserOptions: {
project: "./tsconfig.eslint.json",
},
},
],
};