mirror of
https://fast.feibisi.com/https://github.com/parcelvoy/platform.git
synced 2025-08-29 11:56:04 +08:00
37 lines
979 B
Text
37 lines
979 B
Text
{
|
|
"root": true,
|
|
"env": {
|
|
"node": true
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"extends": [
|
|
"standard",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"indent": ["error", 4],
|
|
"padded-blocks": "off",
|
|
"camelcase": "off",
|
|
"no-use-before-define": "off",
|
|
"comma-dangle": "off",
|
|
"space-before-function-paren": ["error", {
|
|
"anonymous": "never",
|
|
"named": "never",
|
|
"asyncArrow": "always"
|
|
}],
|
|
"@typescript-eslint/comma-dangle": ["error", "always-multiline"],
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off"
|
|
},
|
|
"globals": {
|
|
"NodeJS": true
|
|
}
|
|
}
|