File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,11 @@ on: # yamllint disable-line rule:truthy
1313 type : string
1414 required : false
1515 default : ${{ github.ref }}
16+ config :
17+ description : ' The location of the configuration file'
18+ type : string
19+ required : false
20+ default : ' ./tools/linters/eslint.config.js'
1621
1722jobs :
1823 linter :
@@ -33,23 +38,10 @@ jobs:
3338
3439 - name : Install ESLint
3540 run : |
36- #npm install -g npx --save-dev
37- #npm install -g eslint --save-dev
3841 npm install eslint --save-dev --verbose
3942
40- - name : Debug
41- continue-on-error : true
42- run : |
43- pwd
44- ls -lha ../../../
45- ls -lha ../../
46- ls -lha ../
47- ls -lha .
48- ls -lha node_modules/
49- ls -lha node_modules/bin
50-
5143 - name : Lint ECMAScript
5244 uses : sibiraj-s/action-eslint@master
5345 with :
5446 all-files : true
55- use-npx : false
47+ eslint-args : " --config=${{ inputs.config }} "
You can’t perform that action at this time.
0 commit comments