memos/web/.eslintrc.json

34 lines
802 B
JSON
Raw Normal View History

2021-12-08 23:43:52 +08:00
{
2021-12-13 17:23:35 +08:00
"env": {
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint", "prettier"],
"ignorePatterns": ["node_modules", "dist", "public"],
"rules": {
2021-12-14 06:51:06 +08:00
"prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
2021-12-13 17:23:35 +08:00
"@typescript-eslint/no-empty-interface": ["off"],
"@typescript-eslint/no-explicit-any": ["off"],
"react/react-in-jsx-scope": "off"
},
"settings": {
"react": {
"version": "detect"
}
2021-12-13 17:23:35 +08:00
}
2021-12-08 23:43:52 +08:00
}