mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2024-12-04 01:41:03 +00:00
41 lines
803 B
JSON
41 lines
803 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "prettier"],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["react", "@typescript-eslint"],
|
|
"rules": {
|
|
"@typescript-eslint/ban-types": [
|
|
"warn",
|
|
{
|
|
"extendDefaults": true,
|
|
"types": {
|
|
"{}": false
|
|
}
|
|
}
|
|
],
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_"
|
|
}
|
|
]
|
|
},
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|