Skip to content

Commit

Permalink
fix: eslint config to ignore dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
wuda-io committed Dec 16, 2024
1 parent c213e58 commit 472988b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import typescriptEslint from 'typescript-eslint';

export default [
{ files: ['src/**/*.{ts,js,mjs}'] },
{
files: ['src/**/*.{ts,js,mjs}'],
ignores: ['dist', 'node_modules']
// https://eslint.org/docs/latest/use/configure/configuration-files
ignores: ['dist', 'tsconfig.json', 'node_modules']
},
...typescriptEslint.configs.recommended,
{
Expand Down

0 comments on commit 472988b

Please sign in to comment.