Skip to content

Commit

Permalink
God bless eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Jul 29, 2024
1 parent 58c1df9 commit f82783a
Show file tree
Hide file tree
Showing 9 changed files with 263 additions and 130 deletions.
19 changes: 19 additions & 0 deletions web/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2021
},
"extends": [
"plugin:v3xlabs/recommended"
],
"ignorePatterns": [
"!**/*"
],
"plugins": [
"v3xlabs"
],
"env": {
"node": true
},
"rules": {}
}
4 changes: 2 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "vite",
"build": "vite build",
"lint": "eslint"
"lint": "eslint -c .eslintrc.json --ext .ts ./src"
},
"keywords": [],
"author": "",
Expand Down Expand Up @@ -35,7 +35,7 @@
"@types/react-dom": "^18.3.0",
"@types/url-search-params": "^1.1.2",
"@typescript-eslint/parser": "^7.17.0",
"eslint": "^9.8.0",
"eslint": "^8.57.0",
"eslint-plugin-v3xlabs": "^1.6.5",
"typescript": "^5.5.4"
}
Expand Down
Loading

0 comments on commit f82783a

Please sign in to comment.