This website requires JavaScript.
Explore
Discord Server
Help
Sign in
actions
/
superlint
Watch
1
Star
0
Fork
You've already forked superlint
0
mirror of
https://github.com/super-linter/super-linter.git
synced
2024-12-27 01:32:15 -05:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
580b4ac723
superlint
/
test
/
linters
/
jsx
/
jsx_good_1.jsx
5 lines
89 B
React
Raw
Normal View
History
Unescape
Escape
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 06:31:38 -04:00
import
React
from
'react'
;
Install, configure, and run jscpd. Add missing tests (#1032) Co-authored-by: Gabo <gabo.fdc@gmail.com> Co-authored-by: Matt Desmond <beardofedu@github.com> Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
2021-01-27 14:47:34 -05:00
const
element
=
<
h1
>
Hello
,
world
!
<
/
h1
>
;
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 06:31:38 -04:00
console
.
log
(
element
)
Reference in a new issue
Copy permalink