ci(super-linter): remove redundant linter options #960
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: # yamllint disable-line rule:truthy | |
push: null | |
pull_request: null | |
permissions: {} | |
jobs: | |
build: | |
name: Lint | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: read | |
# To report GitHub Actions status checks | |
statuses: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v5 | |
with: | |
# super-linter needs the full git history to get the | |
# list of files that changed across commits | |
fetch-depth: 0 | |
- name: Super-linter | |
uses: super-linter/[email protected] # x-release-please-version | |
env: | |
# To report GitHub Actions status checks | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MARKDOWN_CONFIG_FILE: .markdownlint.json | |
FILTER_REGEX_EXCLUDE: .*workflows/.* | |
LINTER_RULES_PATH: / | |
IGNORE_GITIGNORED_FILES: true | |
JAVASCRIPT_ES_CONFIG_FILE: 'eslint.config.mjs' | |
TYPESCRIPT_ES_CONFIG_FILE: 'eslint.config.mjs' | |
NATURAL_LANGUAGE_CONFIG_FILE: '.textlintrc.json' | |
PYTHON_BLACK_CONFIG_FILE: 'pyproject.toml' | |
PYTHON_FLAKE8_CONFIG_FILE: 'setup.cfg' | |
PYTHON_ISORT_CONFIG_FILE: 'pyproject.toml' | |
PYTHON_MYPY_CONFIG_FILE: 'mypy.ini' | |
PYTHON_PYLINT_CONFIG_FILE: '.pylintrc' | |
PYTHON_RUFF_CONFIG_FILE: 'pyproject.toml' | |
# PRETTIER is already configured and integrated in repository, moreover | |
# it generates "empty" phantom-errors in the summary of lint checking and | |
# this is the reason why it is turned off in the repository: implemented. | |
VALIDATE_GRAPHQL_PRETTIER: false | |
VALIDATE_HTML_PRETTIER: false | |
VALIDATE_CSS_PRETTIER: false | |
VALIDATE_JAVASCRIPT_PRETTIER: false | |
VALIDATE_TYPESCRIPT_PRETTIER: false | |
VALIDATE_JSON_PRETTIER: false | |
VALIDATE_JSONC_PRETTIER: false | |
VALIDATE_JSX_PRETTIER: false | |
VALIDATE_VUE_PRETTIER: false | |
VALIDATE_YAML_PRETTIER: false | |
VALIDATE_MARKDOWN_PRETTIER: false | |
# Please, read #195: | |
# https://github.com/Falcion/Patternugit/issues/195 | |
VALIDATE_NATURAL_LANGUAGE: false |