Skip to content

Commit

Permalink
fix: add .output to eslint and prettier ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Nov 20, 2024
1 parent 2f57d09 commit 1b4deef
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Ignore build output directories
.nuxt/
.output/
dist/
./docs/** */
./docs/_nuxt/** */
docs/
DEBUG=1/** */

# Ignore node modules
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default [
...pluginVue.configs["flat/essential"],
eslintConfigPrettier,
{
ignores: ['node_modules', 'dist', 'public', '.nuxt', 'docs/**/*', 'DEBUG=1/**/*'],
ignores: ['node_modules', 'dist', 'public', '.nuxt', 'docs/**/*', 'DEBUG=1/**/*', '.output', 'docs/_nuxt/*'],
},
{
files: ['pages/*.vue'],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"postinstall": "nuxi prepare",
"lint:js": "eslint -c eslint.config.js --ignore-pattern .gitignore .",
"lint:prettier": "prettier --check .",
"lint": "yarn lint:js && yarn lint:prettier",
"lint": "pnpm lint:js && pnpm lint:prettier",
"lintfix": "prettier --write --list-different . && pnpm lint:js --fix"
},
"devDependencies": {
Expand Down

0 comments on commit 1b4deef

Please sign in to comment.