Skip to content

Commit

Permalink
chore: fix fixlint command (#1332)
Browse files Browse the repository at this point in the history
eslint must come last otherwise the --fix flag has no effect
  • Loading branch information
ludofischer committed Feb 17, 2022
1 parent 8bb90a3 commit f56ff5e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "cssnano-core",
"private": true,
"scripts": {
"lint": "eslint . --cache --ignore-path .gitignore --ext .js,.mjs && pnpm types",
"lint": "pnpm types && eslint . --cache --ignore-path .gitignore --ext .js,.mjs",
"fixlint": "pnpm lint -- --fix",
"build:integration": "node ./util/buildFrameworks.mjs",
"pretest": "pnpm lint",
Expand All @@ -24,7 +24,7 @@
"browserslist": "^4.19.1",
"c8": "^7.11.0",
"diff": "^5.0.0",
"eslint": "^8.8.0",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
Expand Down
62 changes: 31 additions & 31 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f56ff5e

Please sign in to comment.