Skip to content

Commit

Permalink
feat: add npm run lint via npm-run-all
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Aug 30, 2017
1 parent 7e45cb7 commit 605b722
Show file tree
Hide file tree
Showing 3 changed files with 149 additions and 0 deletions.
146 changes: 146 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"husky": "^0.14.3",
"lint-staged": "^4.0.4",
"markdownlint-cli": "^0.3.1",
"npm-run-all": "^4.1.1",
"standard-version": "^4.2.0",
"yargs": "^8.0.2"
},
Expand All @@ -38,6 +39,7 @@
"lint:js": "eslint --max-warnings=0 .",
"lint:js:fix": "eslint --max-warnings=0 . --fix",
"lint:md": "markdownlint *.md",
"lint": "npm-run-all --parallel lint:js lint:md",
"commitmsg": "commitlint -e",
"precommit": "lint-staged",
"release": "standard-version",
Expand Down
1 change: 1 addition & 0 deletions src/init.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ test('init', async (t) => {
'lint:js': 'eslint --max-warnings=0 .',
'lint:js:fix': 'eslint --max-warnings=0 . --fix',
'lint:md': 'markdownlint *.md',
lint: 'npm-run-all --parallel lint:js lint:md',
precommit: 'lint-staged',
release: 'standard-version',
'release:dry-run': 'standard-version --dry-run',
Expand Down

0 comments on commit 605b722

Please sign in to comment.