lint/.github/linters
Marco Ferrari 91dc6d7234
fix: add missing fix mode options and test cases (#5987)
- Add missing fix mode options for: CLANG_FORMAT, ENV,
  GOOGLE_JAVA_FORMAT, NATURAL_LANGUAGE, PYTHON_ISORT, RUST_CLIPPY.
- Refactor linter tests to make them shorter because there's no need to
  have big test files.
- Refactor 'bad' linter tests for linters that support fix mode so they
  contain only automatically fixable issues. This is needed to avoid
  adding another set of 'bad' linter tests for fix mode.
- Provide configuration files for linters that support fix mode and for
  which the default configuration is not suitable to enable fix mode:
  ansible-lint, ESLint, golangci-lint.
- Add a test case for linter commands options for linters that support
  fix mode, to ensure that fix mode and check-only mode options have
  been defined.
- Refactor the fix mode test to check if linters actually applied
  modifications to files.
- Update documentation about adding test cases for linters that support
  fix mode.
- Don't exit with a fatal error if VALIDATE_xxx is false when testing
  fix mode because not all linters support fix mode. To enable this, set
  the new FIX_MODE_TEST_CASE_RUN variable to true.
2024-08-12 12:31:38 +02:00
..
.clj-kondo Bump cljkondo/clj-kondo from 2022.03.09-alpine to 2022.09.08-alpine (#3305) 2022-09-29 11:57:36 +02:00
.checkov-test-linters-failure.yaml feat: run linters in parallel (#5177) 2024-01-30 19:24:55 +00:00
.checkov-test-linters-success.yaml feat: add the kustomize binary for checkov (#5763) 2024-06-27 19:03:16 +02:00
.checkov.baseline feat: add support for checkov to lint iac files (#4925) 2023-12-22 13:22:15 +01:00
.checkov.yaml feat: add the kustomize binary for checkov (#5763) 2024-06-27 19:03:16 +02:00
.eslintrc.yml fix: add missing fix mode options and test cases (#5987) 2024-08-12 12:31:38 +02:00
.gitleaks-ignore-tests.toml feat: run linters in parallel (#5177) 2024-01-30 19:24:55 +00:00
.golangci.yml fix: add missing fix mode options and test cases (#5987) 2024-08-12 12:31:38 +02:00
.hadolint.yaml ci: configure commitlint (#5014) 2023-12-19 19:37:16 +01:00
.jscpd-test-linters.json feat!: run linters against the workspace (#5041) 2023-12-24 17:56:15 +01:00
.jscpd.json fix: add missing fix mode options and test cases (#5987) 2024-08-12 12:31:38 +02:00
.markdown-lint.yml fixed and cleaned folders 2019-10-23 10:23:16 -05:00
.powershell-psscriptanalyzer.psd1 Revert psd1 extension change and ignore PSMissingModuleManifestField 2023-01-05 09:46:51 -05:00
commitlint.config.js feat: allow using both prettier and standardjs (#5679) 2024-07-19 05:04:43 +00:00
tsconfig.json Move tests to the test directory (#4985) 2023-12-15 08:50:35 +00:00