Skip to content

Commit 5fa4233

Browse files
committed
Add ECMAScript- and JSON-linters
1 parent cbdfbb7 commit 5fa4233

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/eslinter.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ jobs:
3737
ref: ${{ inputs.ref }}
3838

3939
- name: Install ESLint
40-
run: npm install -g eslint --save-dev
40+
run: |
41+
npm install eslint --save-dev
42+
npm install eslint-config-standard --save-dev
4143
4244
- name: Lint ECMAScript
43-
run: eslint --config=${{ inputs.config}} --debug
45+
run: ./node_modules/.bin/eslint --config=${{ inputs.config}} --debug
4446

4547
#- name: Lint ECMAScript
4648
# uses: sibiraj-s/action-eslint@master

0 commit comments

Comments
 (0)