Skip to content

Commit

Permalink
add extra linting script
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Jul 25, 2022
1 parent de56145 commit 701a8ba
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .babelrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ module.exports = {
shippedProposals: true,
useBuiltIns: 'usage',
targets: {
node: '10',
node: '14',
},
modules,
corejs: '3',
Expand Down Expand Up @@ -149,7 +149,7 @@ module.exports = {
shippedProposals: true,
useBuiltIns: 'usage',
targets: {
node: '10',
node: '14',
},
corejs: '3',
modules: false,
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"lint:js": "yarn lint:js:cmd . --quiet",
"lint:js:cmd": "cross-env NODE_ENV=production eslint --cache --cache-location=.cache/eslint --ext .js,.jsx,.json,.html,.ts,.tsx,.mjs --report-unused-disable-directives",
"lint:md": "remark -q .",
"lint:other": "prettier --write '**/*.{css,html,json,md,yml}'",
"lint:package": "sort-package-json",
"local-registry": "ts-node --project=./scripts/tsconfig.json ./scripts/run-registry.ts ",
"publish:debug": "npm run publish:latest -- --npm-tag=debug --no-push",
Expand Down Expand Up @@ -100,6 +101,9 @@
],
"*.ejs": [
"ejslint"
],
"*.{css,html,json,md,yml}": [
"prettier --write"
]
},
"browserslist": [
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8724,8 +8724,8 @@ __metadata:
linkType: soft

"@storybook/preset-create-react-app@npm:^4.1.0":
version: 4.1.1
resolution: "@storybook/preset-create-react-app@npm:4.1.1"
version: 4.1.2
resolution: "@storybook/preset-create-react-app@npm:4.1.2"
dependencies:
"@pmmmwh/react-refresh-webpack-plugin": ^0.5.1
"@storybook/react-docgen-typescript-plugin": canary
Expand All @@ -8738,7 +8738,7 @@ __metadata:
"@storybook/node-logger": "*"
"@storybook/react": ">=5.2"
react-scripts: ">=5.0.0"
checksum: fb4af8023f5e9a995b08375f7b0eee1c989da62dc2a5c94cbcef7c6490807743eb9778ab875f556a9a9093a27f7c4526b7a5ed97175443527006103543b72456
checksum: d28d7c9c5ec6775f2818f831fee3b28c1e8f395bde18f43b665feb8e7f53e1dbaba4e6a783511702098f1bb45c3a7fa9cdbc0d9816aaefebfa4838a26a807406
languageName: node
linkType: hard

Expand Down

0 comments on commit 701a8ba

Please sign in to comment.