Skip to content

Commit

Permalink
Fix lint:js and lint:js-fix NPM scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
techanvil committed Jan 20, 2022
1 parent a1cb7ed commit f0334c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bin
build
dist
node_modules
third-party
vendor
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"storybook:vrt": "npm run storybook -- --ci --quiet",
"backstopjs": "backstop test --config=tests/backstop/config.js --docker",
"lint": "npm run lint:js && npm run lint:css",
"lint:js": "wp-scripts lint-js",
"lint:js-fix": "wp-scripts format-js",
"lint:js": "eslint --no-eslintrc --config .eslintrc.json --ignore-path .eslintignore --ext js,jsx,ts,tsx .",
"lint:js-fix": "prettier --write --config .prettierrc.js --ignore-path .prettierignore \"**/*.{js,jsx,ts,tsx,.yml,.yaml}\"",
"lint:css": "stylelint ./assets/sass --syntax scss",
"lint:css-fix": "stylelint ./assets/sass --syntax scss --fix",
"env:start": "./bin/local-env/start.sh",
Expand Down

0 comments on commit f0334c1

Please sign in to comment.