Skip to content

Commit

Permalink
limit script to lint:style only (opensearch-project#119)
Browse files Browse the repository at this point in the history
Signed-off-by: Danila Gulderov <[email protected]>
  • Loading branch information
gulderov committed Aug 4, 2023
1 parent e3b0ff6 commit 222f61b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@
"clean": "node ./scripts/compile-clean.js",
"compile-icons": "node ./scripts/compile-icons.js && prettier --write --loglevel=warn \"./src/components/icon/assets/**/*.js\"",
"extract-i18n-strings": "node ./scripts/babel/fetch-i18n-strings",
"lint": "yarn tsc --noEmit && yarn lint-es && yarn lint-sass",
"lint": "yarn tsc --noEmit && yarn lint-es && yarn lint:style",
"lint-fix": "yarn lint-es-fix",
"lint-es": "eslint --cache \"{src,src-docs}/**/*.{ts,tsx,js}\" --max-warnings 0",
"lint-es-fix": "yarn lint-es --fix",
"lint-sass": "stylelint --max-warnings 0 '{src,src-docs}/**/*.scss'",
"lint-sass-fix": "stylelint --fix --max-warnings 0 '{src,src-docs}/**/*.scss'",
"lint:style": "stylelint --max-warnings 0 '{src,src-docs}/**/*.scss'",
"test": "yarn lint && yarn test-unit",
"test-unit": "cross-env NODE_ENV=test jest --config ./scripts/jest/config.json",
"test-a11y": "node ./scripts/a11y-testing",
Expand Down

0 comments on commit 222f61b

Please sign in to comment.