File tree Expand file tree Collapse file tree 5 files changed +40
-20
lines changed
Expand file tree Collapse file tree 5 files changed +40
-20
lines changed Original file line number Diff line number Diff line change 1+ name : Linting
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ tags :
8+ - ' *'
9+ pull_request :
10+ branches :
11+ - main
12+
13+ permissions :
14+ contents : read
15+
16+ jobs :
17+ lint :
18+ uses : voxpelli/ghatemplates/.github/workflows/lint.yml@main
Original file line number Diff line number Diff line change 1- # Ignoring a .gitignore in /templates enables a user to add a .gitignore in there that ignores specific templates it
2- # doesn't want to commit without that meaning that it will have uncommitted changes always.
3- /templates /.gitignore
4-
5- # Of course we don't want to commit our dependencies
1+ # Basic ones
2+ /coverage
3+ /coverage-ts
64/node_modules
5+ /.env
6+ /.nyc_output
77
8- # We're a library, so no yarn.lock either
8+ # We're a library, so please, no lock files
9+ /package-lock.json
910/yarn.lock
1011
11- # These files we should skip as well
12- .DS_Store
13- npm-debug.log
14- yarn-error.log
12+ # Library specific ones
13+
14+ # Ignoring a .gitignore in /templates enables a user to add a .gitignore in there that ignores specific templates it
15+ # doesn't want to commit without that meaning that it will have uncommitted changes always.
16+ /templates /.gitignore
Original file line number Diff line number Diff line change 1+ package-lock = false
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1717 "request" : " ^2.75.0"
1818 },
1919 "engines" : {
20- "node" : " >=10 .0.0"
20+ "node" : " >=16 .0.0"
2121 },
2222 "repository" : {
2323 "type" : " git" ,
3131 "webmention-testpinger" : " bin/cli"
3232 },
3333 "scripts" : {
34- "dependency-check" : " JS_FILES=\" lib/*.js\" && dependency-check . $JS_FILES && dependency-check . $JS_FILES --unused --no-dev" ,
35- "test" : " installed-check -e -i eslint && eslint . && npm run dependency-check"
34+ "check:dependency-check" : " dependency-check 'lib/*.js' --no-dev" ,
35+ "check:installed-check" : " installed-check" ,
36+ "check:lint" : " eslint --report-unused-disable-directives ." ,
37+ "check" : " run-p check:*" ,
38+ "test" : " run-s check"
3639 },
3740 "devDependencies" : {
38- "dependency-check" : " 3. 4.1" ,
41+ "dependency-check" : " ^ 4.1.0 " ,
3942 "eslint" : " 6.8.0" ,
4043 "eslint-config-semistandard" : " 14.0.0" ,
4144 "eslint-config-standard" : " 13.0.1" ,
4245 "eslint-plugin-import" : " 2.20.2" ,
4346 "eslint-plugin-node" : " 9.2.0" ,
4447 "eslint-plugin-promise" : " 4.2.1" ,
4548 "eslint-plugin-standard" : " 4.0.1" ,
46- "installed-check" : " 2.2.0"
49+ "installed-check" : " ^7.0.0" ,
50+ "npm-run-all2" : " ^6.0.5"
4751 }
4852}
You can’t perform that action at this time.
0 commit comments