-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypescript.js
More file actions
34 lines (34 loc) · 867 Bytes
/
typescript.js
File metadata and controls
34 lines (34 loc) · 867 Bytes
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
/**
* AlloyTeam ESLint 规则
* https://alloyteam.github.io/eslint-config-alloy/
*
* 贡献者:
* xcatliu <xcatliu@gmail.com>
*
*
* 依赖版本:
* eslint ^8.24.0
* @babel/core ^7.19.1
* @babel/eslint-parser ^7.19.1
* @babel/preset-react ^7.18.6
* eslint-plugin-react ^7.31.8
* vue-eslint-parser ^9.1.0
* eslint-plugin-vue ^9.5.1
* @typescript-eslint/parser ^5.38.1
* @typescript-eslint/eslint-plugin ^5.38.1
*
* 此文件是由脚本 scripts/build.ts 自动生成
*/
module.exports = {
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint"],
rules: {
"no-dupe-class-members": "off",
"no-empty-function": "off",
// https://github.com/typescript-eslint/typescript-eslint/issues/491
"no-invalid-this": "off",
"no-magic-numbers": "off",
"no-unused-vars": "off",
"react/sort-comp": "off",
},
};