Commit 7ddd4caf authored by boojack's avatar boojack

chore: update eslint config

parent b40060fd
...@@ -15,7 +15,12 @@ ...@@ -15,7 +15,12 @@
"plugins": ["react", "@typescript-eslint", "prettier"], "plugins": ["react", "@typescript-eslint", "prettier"],
"ignorePatterns": ["node_modules", "dist", "public"], "ignorePatterns": ["node_modules", "dist", "public"],
"rules": { "rules": {
"prettier/prettier": "error", "prettier/prettier": [
"error",
{
"endOfLine": "auto"
}
],
"@typescript-eslint/no-empty-interface": ["off"], "@typescript-eslint/no-empty-interface": ["off"],
"@typescript-eslint/no-explicit-any": ["off"], "@typescript-eslint/no-explicit-any": ["off"],
"react/react-in-jsx-scope": "off", "react/react-in-jsx-scope": "off",
......
{ {
"eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact", "vue"], "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
"editor.codeActionsOnSave": { "editor.codeActionsOnSave": {
"source.fixAll.eslint": true "source.fixAll.eslint": true
}, }
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment