File tree 4 files changed +14
-2
lines changed
4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 7
7
fixtures
8
8
src /action.test.js
9
9
src /testUtils.js
10
+ .eslintignore
10
11
.eslintrc.json
Original file line number Diff line number Diff line change
1
+ .git /
2
+ .vscode
3
+ /build /
4
+ /dist /
5
+ /coverage /
6
+ /LICENSE.md
7
+ /modules /
8
+ /node_modules /
9
+ /worktrees /
10
+ ! . *
Original file line number Diff line number Diff line change
1
+ // eslint-disable-next-line import/no-extraneous-dependencies
1
2
const yaml = require ( 'yaml' )
2
3
3
4
yaml . scalarOptions . str . fold . lineWidth = 100
4
5
5
6
const versionRegex = / \d + \. \d + \. \d + /
6
7
7
- module . exports . readVersion = contents =>
8
+ module . exports . readVersion = ( contents ) =>
8
9
yaml . parse ( contents ) . runs . image . match ( versionRegex ) [ 0 ]
9
10
10
11
module . exports . writeVersion = ( contents , version ) => {
Original file line number Diff line number Diff line change 8
8
"postinstall" : " husky install" ,
9
9
"test" : " NODE_PATH=./node_modules jest" ,
10
10
"changelog" : " conventional-changelog -p angular -i CHANGELOG.md -s" ,
11
- "lint" : " eslint --ignore-path .gitignore ."
11
+ "lint" : " eslint ."
12
12
},
13
13
"engines" : {
14
14
"node" : " >=12.0.0"
You can’t perform that action at this time.
0 commit comments