Skip to content

Commit

Permalink
eslint.config.js に dist ディレクトリを無視する設定を追加
Browse files Browse the repository at this point in the history
  • Loading branch information
reiroop committed Nov 2, 2024
1 parent 2584177 commit 3aab906
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ const compat = new FlatCompat()

/** @type {import('eslint').Linter.Config[]} */
export default [
{ files: ['**/*.{js,mjs,cjs,ts,vue}'] },
{
ignores: ['**/dist/**']
},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
...pluginVue.configs['flat/essential'],
{
files: ['**/*.vue'],
files: ['**/*.{js,mjs,cjs,ts,vue}'],
plugins: {
import: importPlugin,
'unused-imports': unusedImports
Expand Down

0 comments on commit 3aab906

Please sign in to comment.