-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy path.eslintrc.js
More file actions
32 lines (32 loc) · 1.02 KB
/
.eslintrc.js
File metadata and controls
32 lines (32 loc) · 1.02 KB
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
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'gemini-testing',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
],
rules: {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/no-explicit-any": "off",
"prefer-rest-params": "off",
"@typescript-eslint/no-use-before-define": [
"error",
{
functions: false,
classes: false,
variables: true,
typedefs: false,
},
],
"@typescript-eslint/no-parameter-properties": "off",
"no-prototype-builtins": "off",
"object-curly-spacing": ["error", "always"],
quotes: ["error", "double", {avoidEscape: true}],
"comma-dangle": ["error", "always-multiline"],
}
};