Skip to content

Commit

Permalink
build: updated eslint version
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Dec 20, 2024
1 parent 11cf15d commit e9264ef
Show file tree
Hide file tree
Showing 7 changed files with 1,581 additions and 1,784 deletions.
16 changes: 0 additions & 16 deletions .eslintrc.cjs

This file was deleted.

22 changes: 22 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import js from '@eslint/js'
import pluginVue from 'eslint-plugin-vue'
import vueTsEslintConfig from '@vue/eslint-config-typescript'
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting'

export default [
js.configs.recommended,
{
name: 'app/files-to-lint',
files: ['**/*.{ts,mts,tsx,vue}']
},

{
name: 'app/files-to-ignore',
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**']
},

...pluginVue.configs['flat/recommended'],
...vueTsEslintConfig(),

skipFormatting
]
Loading

0 comments on commit e9264ef

Please sign in to comment.