Skip to content

Commit

Permalink
chore: fix lint and pin dependencies (vitejs#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout authored Mar 19, 2021
1 parent 24018c5 commit 8e4154b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
# no lint check for legacy
- run: rm ./README.legacy.md
- run: npx awesome-lint
- run: npm install
- run: npm run lint
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules/
package-lock.json
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{
"private": true,
"scripts": {
"toc": "npx markdown-toc -i --bullets=- README.md",
"lint": "npx awesome-lint"
"toc": "markdown-toc -i --bullets=- README.md",
"lint": "awesome-lint README.md"
},
"devDependencies": {
"awesome-lint": "^0.17.1",
"markdown-toc": "^1.2.0"
}
}

0 comments on commit 8e4154b

Please sign in to comment.