Skip to content

Commit

Permalink
style: add lint script
Browse files Browse the repository at this point in the history
* style: add lint script

* ci: update lint fix command
  • Loading branch information
Barbapapazes authored Jul 23, 2024
1 parent 65d6324 commit af884ff
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ jobs:
run: pnpm install

- name: Lint (code)
run: pnpm lint --fix
run: pnpm lint:fix

- uses: autofix-ci/action@d3e591514b99d0fca6779455ff8338516663f7cc
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"eslint.experimental.useFlatConfig": true,
"prettier.enable": false
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish && git push --follow-tags",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"test": "vitest run",
"test:types": "vue-tsc --noEmit",
"test:types:playground": "cd playground && vue-tsc --noEmit",
Expand Down Expand Up @@ -56,4 +57,4 @@
"vitest": "^1.6.0",
"vue-tsc": "^2.0.21"
}
}
}

0 comments on commit af884ff

Please sign in to comment.