-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.json
36 lines (36 loc) · 1.05 KB
/
.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
36
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": { "project": "./tsconfig.json" },
"env": { "es6": true, "jest": true },
"ignorePatterns": ["node_modules", "build", "build-tools"],
"plugins": ["import", "eslint-comments", "typescript", "prettier"],
"extends": [
"gemini-testing",
"plugin:@typescript-eslint/recommended",
"plugin:eslint-comments/recommended",
"plugin:import/typescript",
"prettier",
"prettier/@typescript-eslint"
],
"rules": {
"no-use-before-define": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"import/order": [
"error",
{ "newlines-between": "always", "alphabetize": { "order": "asc" } }
],
"sort-imports": [
"error",
{ "ignoreDeclarationSort": true, "ignoreCase": true }
],
"quotes": ["error", "single", "avoid-escape"],
"prettier/prettier": ["error", {
"singleQuote": true,
"printWidth": 70,
"tabWidth": 4,
"useTabs": false
}]
}
}