File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,10 @@ Optional. Flags and args of eslint command. Default: '.'
5454
5555Optional. The directory from which to look for and run eslint. Default '.'
5656
57+ ### ` node_options `
58+
59+ Optional. The NODE_OPTIONS environment variable to use with eslint. Default is ''.
60+
5761## Example usage
5862
5963You also need to install [ eslint] ( https://github.com/eslint/eslint ) .
Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ inputs:
4545 description : ' Tool name to use for reviewdog reporter'
4646 required : false
4747 default : ' eslint'
48+ node_options :
49+ description : ' NODE_OPTIONS for running eslint'
50+ required : false
51+ default : ' '
4852runs :
4953 using : ' composite'
5054 steps :
6367 INPUT_ESLINT_FLAGS : ${{ inputs.eslint_flags }}
6468 INPUT_WORKDIR : ${{ inputs.workdir }}
6569 INPUT_TOOL_NAME : ${{ inputs.tool_name }}
70+ NODE_OPTIONS : ${{ inputs.node_options }}
6671branding :
6772 icon : ' alert-octagon'
6873 color : ' blue'
You can’t perform that action at this time.
0 commit comments