Changed
- BREAKING: Updated to
eslint-plugin-playwright@2.0.0and add new rules as
errors:
prefer-locator,
prefer-native-locators.
- BREAKING: Removed
eslint-plugin-sonarjsand the associated
sonarjs-config.jsafter many issues with compatibility, including still
not being compatible witheslintv9 (and with no identified plan to achieve
compatibility even though v8 is officially deprecated), as well as the
addition of numerous rules that duplicateeslintcore rules, creating
additional maintenance overhead. (#130)
- Any inline rule disables will be reported as unused disable directives and
will need to be removed.
- Any direct inclusion of the
sonarjs-config.jsconfig will need to be
removed.
- Both
recommended*.jsconfigs have been updated to remove the config.
- Any inline rule disables will be reported as unused disable directives and
- BREAKING: With the removal of
sonarjs-config.js, which had the
cognitive-complexityrules with low and high thresholds, updated
base-configs.jswith low and high thresholds forcomplexity. (#132)
- The
complexityrule was updated to the low threshold of 5,
and updated to usevariant: modified,
which is closer to thecognitive-complexityimplementation.
- The
core/complexityrule was added with the high threshold of 15, also
usingvariant: modified. Since re-use of core rules is an experimental
capability, this must be enabled with environment variable
ENABLE_ESLINT_CORE_RULE_DUPLICATES=true.
- The
Fixed
- Updated to latest dependencies:
@eslint-community/eslint-plugin-eslint-comments@4.4.1,
eslint-plugin-jsdoc@50.4.3,eslint-plugin-n@17.12.0.
Miscellaneous
- Updated CI pipelines to use GitLab pages new
parallel deployments
feature to publishconfig-inspectorsite for MRs. (#131)