Skip to content

Commit

Permalink
Ignore unnecessary folders in eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
nikameru committed Oct 5, 2024
1 parent 506cbc4 commit ac20236
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';

export default tseslint.config(
{
ignores: [
"**/dist/**",
"**/build/**",
"**/node_modules/**"
]
},
eslint.configs.recommended,
...tseslint.configs.recommended,
{
ignores: [
"dist",
"build",
"node_modules"
],
rules: {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off"
Expand Down

0 comments on commit ac20236

Please sign in to comment.