Skip to content

Commit

Permalink
Merge pull request #43 from traP-jp/fix/format-conf
Browse files Browse the repository at this point in the history
fix: prettierと競合するeslintのルールを無効化
  • Loading branch information
mathsuky authored Oct 3, 2024
2 parents 7dc6a59 + 5a4674b commit 6e194d5
Show file tree
Hide file tree
Showing 3 changed files with 117 additions and 200 deletions.
3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import pluginJs from '@eslint/js'
import tseslint from 'typescript-eslint'
import pluginVue from 'eslint-plugin-vue'
import tailwind from 'eslint-plugin-tailwindcss'
import eslintPrettierConfig from 'eslint-config-prettier'

export default [
{ files: ['**/*.{js,mjs,cjs,ts,vue}'] },
Expand All @@ -14,6 +15,8 @@ export default [
...tseslint.configs.recommended,
...pluginVue.configs['flat/recommended'],
...tailwind.configs['flat/recommended'],
eslintPrettierConfig,
{ files: ['**/*.ts'], languageOptions: { parserOptions: { parser: tseslint.parser } } },
{ files: ['**/*.vue'], languageOptions: { parserOptions: { parser: tseslint.parser } } },
{
rules: {
Expand Down
Loading

0 comments on commit 6e194d5

Please sign in to comment.