Skip to content

Commit

Permalink
feat(pluginsdk): Add 'yarn lint' script to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen authored and mergify[bot] committed Nov 10, 2020
1 parent 64d5708 commit 30fd60d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/pluginsdk/scaffold/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"clean": "npx shx rm -rf build",
"develop": "npm run clean && run-p watch proxy",
"build": "npm run clean && rollup -c",
"lint": "eslint --ext js,jsx,ts,tsx src",
"postinstall": "check-plugin && check-peer-dependencies || true",
"proxy": "dev-proxy",
"watch": "rollup -c -w --no-watch.clearScreen"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ function checkPackageJson(report) {

checkPackageJsonField('scripts.build', 'npm run clean && rollup -c');
checkPackageJsonField('scripts.clean', 'npx shx rm -rf build');
checkPackageJsonField('scripts.lint', 'eslint --ext js,jsx,ts,tsx src');
checkPackageJsonField('scripts.develop', 'npm run clean && run-p watch proxy');
checkPackageJsonField('scripts.postinstall', 'check-plugin && check-peer-dependencies || true');
checkPackageJsonField('scripts.proxy', 'dev-proxy');
Expand Down

0 comments on commit 30fd60d

Please sign in to comment.