Skip to content

Commit

Permalink
fix(web): Move to new eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
fliiiix committed Oct 11, 2024
1 parent 20bef5a commit 784bd7e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
14 changes: 14 additions & 0 deletions web/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export default [
{
files: [
"./src/**/*.js",
"./src/**/*.jsx",
"./src/**/*.ts",
"./src/**/*.tsx"
],
extends: [
"react-app",
"react-app/jest"
]
}
];
8 changes: 1 addition & 7 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,7 @@
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest --watch=false",
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
"lint": "eslint"
},
"browserslist": {
"production": [
Expand Down

0 comments on commit 784bd7e

Please sign in to comment.