2019-10-08 19:20:12 +08:00
|
|
|
{
|
|
|
|
"extends": [
|
|
|
|
"tslint:latest",
|
|
|
|
"tslint-plugin-prettier",
|
|
|
|
"tslint-config-prettier"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"prettier": true,
|
|
|
|
"quotemark": [
|
|
|
|
true,
|
|
|
|
"single",
|
|
|
|
"avoid-escape",
|
|
|
|
"avoid-template",
|
|
|
|
"jsx-double"
|
|
|
|
],
|
|
|
|
"no-bitwise": false,
|
2021-08-05 17:29:13 +08:00
|
|
|
"no-console": [true, "log"],
|
2019-10-08 19:20:12 +08:00
|
|
|
"object-literal-sort-keys": false,
|
2022-05-09 15:10:12 +08:00
|
|
|
"no-implicit-dependencies": [true, "dev"],
|
|
|
|
"interface-over-type-literal": false,
|
2022-08-02 19:05:27 +08:00
|
|
|
"no-this-assignment": false,
|
|
|
|
"no-submodule-imports": false
|
2019-11-06 11:57:42 +08:00
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"AMap": true
|
2020-11-18 17:40:37 +08:00
|
|
|
},
|
|
|
|
"linterOptions": {
|
2021-08-05 17:29:13 +08:00
|
|
|
"exclude": [
|
2022-08-08 16:41:30 +08:00
|
|
|
"stories/**",
|
2021-08-05 17:29:13 +08:00
|
|
|
"**/*.d.ts",
|
|
|
|
"**/data/*.ts",
|
|
|
|
"**/*.{test,story}.ts{,x}",
|
|
|
|
"node_modules/**"
|
|
|
|
]
|
2019-10-08 19:20:12 +08:00
|
|
|
}
|
2019-10-29 17:33:37 +08:00
|
|
|
}
|