Skip to content

Commit

Permalink
fix: fix eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkluijk committed Oct 23, 2024
1 parent afe69c3 commit 7c462d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ module.exports = {
parserOptions: {
tsconfigRootDir: __dirname,
project: './tsconfig.json',
// Because we are setting "type": "module" in our package.json, all `.js` files are treated as modules
// Sometimes we will want a commonjs file, like this eslint config, in which case we use the .cjs extension
extraFileExtensions: ['.cjs'],
},
plugins: ['@typescript-eslint'],
rules: {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"type-check": "tsc",
"test": "vitest run",
"test:watch": "vitest run --watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"format": "prettier src --write",
"format:check": "prettier src --check",
"build": "tsc -p tsconfig.build.json"
Expand Down

0 comments on commit 7c462d0

Please sign in to comment.