forked from stripe-archive/flow-to-typescript-codemod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
38 lines (38 loc) · 1.02 KB
/
.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
36
37
38
{
"root": true,
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"jest",
"@typescript-eslint",
"prettier"
],
"env": {
"jest": true
},
"rules": {
"no-console": "error",
"no-plusplus": "off",
"default-case": "off",
"no-inner-declarations": "off",
"no-restricted-syntax": "off",
"no-shadow": "off",
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": "off",
"no-param-reassign": "off",
"no-continue": "off",
"no-nested-ternary": "off",
"prettier/prettier": "error",
"prefer-destructuring": ["error", {
"array": false,
"object": true
}],
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "error"
},
"ignorePatterns": ["src/fix/fix-type-exports/__test__/test-input.ts", "src/test/test-files/*", "src/fix/suppressions/__test__/test-input.ts"]
}