Skip to content

Commit

Permalink
Update linter config
Browse files Browse the repository at this point in the history
  • Loading branch information
rasulov1337 committed Oct 23, 2024
1 parent b651d4d commit e941950
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import globals from 'globals';
import pluginJs from '@eslint/js';
import js from '@eslint/js';
import tseslint from 'typescript-eslint';

export default [
js.configs.recommended,
...tseslint.configs.recommended,
{
files: ['**/*.js', '**/*.ts', '**/*.mjs'],
Expand All @@ -11,7 +12,7 @@ export default [
},
},
{
ignores: ['dist/*'],
ignores: ['dist/*', 'components/precompiled-templates.js'],
},
{
languageOptions: {
Expand All @@ -22,10 +23,8 @@ export default [
},
},
},
pluginJs.configs.recommended,
{
rules: {
'no-unused-vars': ['warn', { argsIgnorePattern: '^_' }],
semi: ['error', 'always'],
quotes: ['error', 'single'],
indent: ['error', 4],
Expand Down

0 comments on commit e941950

Please sign in to comment.