Skip to content

Commit

Permalink
Remove max warnings and fixed any explicit
Browse files Browse the repository at this point in the history
HunterBarclay committed Mar 16, 2024
1 parent e8a422a commit 7d2933f
Showing 4 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions fission/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -21,8 +21,7 @@ module.exports = {
'varsIgnorePattern': '^_',
'caughtErrorsIgnorePattern': '^_'
}
],
'@typescript-eslint/no-explicit-any': 'off'
]
},

}
2 changes: 1 addition & 1 deletion fission/package.json
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives",
"preview": "vite preview",
"test": "vitest",
"lint:fix": "npm run lint --fix",
1 change: 0 additions & 1 deletion fission/src/test/PhysicsSystem.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import { test, expect, describe, assert } from 'vitest';
import { PhysicsSystem } from '../systems/physics/PhysicsSystem';

1 change: 1 addition & 0 deletions fission/src/util/dom.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
export const click = (btn: number, x: number, y: number) => {
const el = document.elementFromPoint(x, y);

0 comments on commit 7d2933f

Please sign in to comment.