Skip to content

Commit

Permalink
feat: support custom eslint config files
Browse files Browse the repository at this point in the history
  • Loading branch information
frytg committed Jul 1, 2024
1 parent e34f7c5 commit 0ace238
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ on:
required: false
type: boolean
default: true
javascript-es-config-file:
description: 'Path to the ESLint configuration file'
required: false
type: string
default: '/.eslintrc.json'

env:
CSS_FILE_NAME: /.stylelintrc.json
Expand All @@ -35,7 +40,7 @@ env:
FILTER_REGEX_EXCLUDE: .*(ati-smarttag.js|skycons.js|.github/workflows/*|docs/ARCHITECTURE/*|traffic/sftp/*|tmp/*|.mp3|.php|.gpg|.drawio|demo.ejs)
IGNORE_GITIGNORED_FILES: true
JAVASCRIPT_DEFAULT_STYLE: prettier
JAVASCRIPT_ES_CONFIG_FILE: /.eslintrc.json
JAVASCRIPT_ES_CONFIG_FILE: ${{ inputs.javascript-es-config-file }}
JSCPD_CONFIG_FILE: /.utils/.github/linters/jscpd.json
KUBERNETES_KUBEVAL_OPTIONS: --ignore-missing-schemas
LINTER_RULES_PATH: /
Expand Down

0 comments on commit 0ace238

Please sign in to comment.