Skip to content

Commit

Permalink
Merge pull request #86 from HalfdanJ/jonas/fix-lint
Browse files Browse the repository at this point in the history
chore: ignore pnpm-lock recursively during linting
  • Loading branch information
orefalo authored Jun 9, 2024
2 parents b0ceb65 + 5c93684 commit c7d7e40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
"check": "svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "npm run lint-format && npm run lint-es",
"lint-es": "eslint --cache --ignore-path .gitignore **/*.{js,ts,svelte,json,md}",
"lint-format": "prettier --ignore-path .gitignore --check --cache --plugin-search-dir=. !./pnpm-lock.yaml !./CHANGELOG.md .",
"format": "prettier --ignore-path .gitignore --write --cache --plugin-search-dir=. !./pnpm-lock.yaml !./CHANGELOG.md .",
"lint-es": "eslint --cache --ignore-path .gitignore .",
"lint-format": "prettier --ignore-path .gitignore --check --cache --plugin-search-dir=. !**/pnpm-lock.yaml !./CHANGELOG.md .",
"format": "prettier --ignore-path .gitignore --write --cache --plugin-search-dir=. !**/pnpm-lock.yaml !./CHANGELOG.md .",
"commit": "npx lint-staged && cross-env NO_VERIFY=1 node ./node_modules/cz-customizable/standalone.js",
"fetch-and-publish": "node scripts/fetch-and-publish.js"
},
Expand Down

0 comments on commit c7d7e40

Please sign in to comment.