-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.cjs
41 lines (41 loc) · 1.18 KB
/
.eslintrc.cjs
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
39
40
41
module.exports = {
"env": {
"browser": true,
"commonjs": false,
"es2021": true
},
"extends": [
"standard",
"standard-with-typescript",
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"project": "./tsconfig.json",
// "extraFileExtensions": [".mts", ".mjs"]
},
"rules": {
"quote-props": "off", // 重要
"@typescript-eslint/no-explicit-any": "off", // any型を認めないをオフ
"@typescript-eslint/explicit-module-boundary-types": "off", // 型の指定に関する警告をオフ
"@typescript-eslint/ban-ts-comment": "off", // @ts-nocheck を許さないをオフ
//"@typescript-eslint/no-unused-vars": 0,
//"@typescript-eslint/no-empty-function": 0,
// "no-unused-vars":0,
// "no-undef": 0
//"react/prop-types": "off"
},
"plugins": [
"@typescript-eslint"
],
"ignorePatterns": [
"node_modules/",
"src/*.mjs",
"**/*.js",
"command/*.mts",
"deno/*.ts"
],
"root": true
}