forked from ninoseki/vscode-gem-lens
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
26 lines (26 loc) · 929 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
{
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"prettier"
],
"plugins": ["prettier", "@typescript-eslint", "jest", "simple-import-sort"],
"rules": {
"@typescript-eslint/no-unused-expressions": "error",
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }],
"@typescript-eslint/semi": "error",
"@typescript-eslint/naming-convention": ["error", { "selector": "class", "format": ["PascalCase"] }],
"curly": ["error", "multi-line"],
"eqeqeq": "error",
"no-duplicate-imports": "error",
"no-throw-literal": "error",
"prettier/prettier": "error",
"semi": "off",
"simple-import-sort/exports": "error",
"simple-import-sort/imports": "error"
}
}