Skip to content

Commit

Permalink
add back lint plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
shanimal08 committed Feb 24, 2025
1 parent 26774c9 commit 7bfa112
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ export default [
languageOptions: {
globals: globals.browser,
parser: tsParser,
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
rules: {
'no-unused-vars': 'off', // base rule must be disabled
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@
"build": "tsc --p ./tsconfig.lib.json && vite build",
"build:watch": "tsc --p ./tsconfig.lib.json && vite build -w",
"preview": "vite preview",
"lint": "eslint lib"
"lint": "eslint lib src"
},
"devDependencies": {
"@eslint/js": "^9.19.0",
"@nabla/vite-plugin-eslint": "^2.0.5",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.12.0",
"@types/three": "^0.173.0",
"@typescript-eslint/parser": "^8.22.0",
"@typescript-eslint/parser": "^8.24.1",
"eslint": "^9.19.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.14.0",
"lil-gui": "^0.20.0",
"min-signal": "^1.0.2",
"prettier": "3.3.3",
"typescript": "^5.7.3",
"typescript-eslint": "^8.22.0",
"typescript-eslint": "^8.24.1",
"vite": "^6.1.0",
"vite-plugin-dts": "^4.5.0",
"vite-tsconfig-paths": "^5.1.4"
Expand Down

0 comments on commit 7bfa112

Please sign in to comment.