Skip to content

Commit

Permalink
Fix eslint glob path and ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kmturley committed Oct 14, 2024
1 parent 6e735fd commit dbf354f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,7 @@ export default [
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
ignores: ['build', 'main'],
},
];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build": "npm run build-renderer && npm run build-electron && npm run copy",
"copy": "cp -rf ./electron-src/*.mjs ./main",
"format": "prettier . --write",
"lint": "eslint ./**/*.ts",
"lint": "eslint './**/*.ts'",
"pack-app": "npm run build && electron-builder --dir",
"pack": "electron-builder --help",
"test": "vitest run ./tests",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@
"isolatedModules": false
},
"include": ["electron-src/**/*.ts"],
"exclude": ["tests/**/*.ts", "node_modules"]
"exclude": ["coverage", "build", "main", "node_modules", "tests"]
}

0 comments on commit dbf354f

Please sign in to comment.