mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-05 11:26:43 +08:00
36 lines
882 B
JSON
36 lines
882 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"jest": true
|
|
},
|
|
"extends": [
|
|
"plugin:react/recommended",
|
|
"airbnb"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"react",
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"react/jsx-filename-extension": [ "warn", {"extensions": [".tsx"]} ],
|
|
"no-use-before-define": "off",
|
|
"@typescript-eslint/no-use-before-define": ["error"],
|
|
"import/extensions": ["error", "ignorePackages", {"ts": "never", "tsx": "never"}],
|
|
"no-param-reassign": ["error", { "props": false }]
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"typescript": {}
|
|
}
|
|
}
|
|
}
|