Skip to content

Commit

Permalink
chore: Update eslint.config.mjs to avoid conflict with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
yy4382 committed May 20, 2024
1 parent ac69b61 commit ae73b57
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
import withNuxt from "./.nuxt/eslint.config.mjs";

export default withNuxt();
// your custom flat configs go here, for example:
// {
// files: ['**/*.ts', '**/*.tsx'],
// rules: {
// 'no-console': 'off' // allow console.log in TypeScript files
// }
// },
// {
// ...
// }
export default withNuxt({
files: ["**/*.vue"],
rules: {
"vue/html-self-closing": "off",
},
});

0 comments on commit ae73b57

Please sign in to comment.