Releases: MorevM/eslint-config
Releases · MorevM/eslint-config
v40.0.0
⚠ BREAKING CHANGES
- html: With new rule
@html-eslint/no-ineffective-attrsineffective attributes in HTML will raise an error. - package-json: With new rules from
package-jsoninvalid fields in thepackage.jsonwill raise an error. - javascript: WIth new
unicorn/require-module-specifiersrule empty import/export statements will raise an error. - javascript: With new
unicorn/no-useless-error-capture-stack-tracerule call ofError.captureStackTraceinside constructor of a built-in Error subclass will raise an error. - javascript: With new rule
unicorn/prefer-class-fieldsthisassignments in class constructors will raise an error. - playwright: With new rule
playwright/valid-test-tagsincorrect Playwright tags will raise an error
Features
- html: Add
@html-eslint/no-ineffective-attrsrule (20e35c4) - javascript: Add
unicorn/no-useless-error-capture-stack-tracerule (edcc1b8) - javascript: Add
unicorn/prefer-class-fieldsrule (20baf20) - javascript: Add
unicorn/require-module-specifiersrule (8948fe6) - javascript: Take account of
no-array-reverserule (39bbbf5) - package-json: Add
package-json/valid-*rules (f1c8cdc) - package-json: Take account of
package-json/require-*rules (7ebee17) - playwright: Add
playwright/no-wait-for-navigationrule (e6435a6) - playwright: Add
playwright/valid-test-tagsrule (ab37226) - vitest: Add
vitest/warn-todorule (0dff0a9)
Bug fixes
- javascript: Allow separate type imports in
no-duplicate-importsrule (87956ad) - javascript: Remove
ForInStatementfromno-restricted-syntaxrule (1acec65) - javascript: Remove doubled
@stylistic/func-call-spacingrule (e9bd491) - javascript: Take account of
import-x/prefer-namespace-importrule (d3543ff) - package-json: Ignore empty
browserslistentry (5974e05) - vitest: Take account of
vitest/prefer-called-onceandvitest/prefer-called-timesrules (8a2e56f) - vue: Take account of
vue/no-negated-conditionandvue/no-negated-v-if-conditionrules (ea2955c)
v39.1.0
Features
- html: Add
'@html-eslint/no-invalid-entity'rule (21a25d1) - html: Add
@html-eslint/no-aria-hidden-on-focusablerule (ec2d8c5) - html: Add
@html-eslint/no-duplicate-in-headrule (c6ced32) - html: Add
@html-eslint/no-empty-headingsrule (6979f70) - package-json: Enforce package.json
binfiles to be in kebab case (1aee227) - playwright: Add
playwrightconfiguration (407460f)
v39.0.0
⚠ BREAKING CHANGES
- package-json: With new rule
package-json/valid-binsomepackage.json's may produce errors - package-json: With new rule
package-json/valid-authorsomepackage.json's may produce errors
Features
- package-json: Add
package-json/valid-authorrule (8c2dfe9) - package-json: Add
package-json/valid-binrule (3eeb37e) - vitest: Add
vitest/consistent-vitest-virule (965b10f)
Bug fixes
v38.2.0
v38.1.1
v38.1.0
Features
- javascript: Add
unicorn/consistent-assertrule (844ac7f) - javascript: Add
unicorn/consistent-date-clonerule (c479e87) - javascript: Add
unicorn/no-accessor-recursionrule (b4279cf) - javascript: Add
unicorn/no-named-defaultrule (c61ac5d) - javascript: Add
unicorn/no-unnecessary-array-flat-depthrule (b4228ca) - javascript: Add
unicorn/no-unnecessary-array-splice-countrule (3f6a529) - javascript: Add
unicorn/prefer-import-meta-propertiesrule (fc87326)
Refactoring
- Replace
eslint-plugin-no-autofixwith a custom realization (601c520) - javascript: Replace deprecated
unicorn/no-array-push-pushwithunicorn/prefer-single-call(3e54c7e) - javascript: Replace deprecated
unicorn/no-instanceof-arraywithunicorn/no-instanceof-builtins(f56cf54) - javascript: Replace deprecated
unicorn/no-length-as-slice-endwithunicorn/no-unnecessary-slice-end(69b7f94)
Chores
- Bump
eslint-plugin-unicornfrom 56.0.1 to 59.0.1 (ab0d88d)
v38.0.0
⚠ BREAKING CHANGES
- Since many modules are moving towards to ESM-only format, the minimum Node version is set to 22 to be able to
require`` these modules ineslint-plugin-no-autofix`. - Minimal supported ESLint version is 9.27.0
- package-json: With new rule
package-json/require-enginespackage.jsonfiles withoutenginesproperty will throw an error - html: New rule
@html-eslint/no-duplicate-classwill report on duplicated class names in HTML markup - cypress: With new rule
cypress/no-chained-getcypress configuration become more strict and may produce new errors - vue2: Vue2 components that have comments in the template root now will produce errors
- vue: With new rule
vue/no-import-compiler-macrosvue files may produce some new errors - typescript: With new rule
@typescript-eslint/no-unnecessary-type-conversionTypeScript-related configurations become more strict. - javascript: With new rule
no-unassigned-varsJS-related configurations become more strict
Features
- cypress: Add
cypress/no-chained-getrule (75f9d9c) - cypress: Add
cypress/no-xpathrule (9f3b286) - html: Add
@html-eslint/no-duplicate-classrule (0e13d8c) - html: Enable
@html-eslint/attrs-newlineagain as I fixed the behavior :) (1f20a01) - html: Take account of
@html-eslint/use-baselinerule (8b27c10) - javascript: Add
no-unassigned-varsrule (6fc479d) - javascript: Add fallback alphabetical sorting option in
perfectionist/sort-importsrule (0e23e76) - node: Enable
n/no-extraneous-importrule again (f9acbdc) - package-json: Add
package-json/require-enginesrule (79c66c5) - package-json: Take account of
package-json/require-descriptionrule (d72ecf2) - package-json: Take account of
package-json/require-typesrule (65f3097) - package-json: Take account of
package-json/restrict-dependency-rangesrule (0758fac) - typescript: Add
@typescript-eslint/no-unnecessary-type-conversionrule (f9791ee) - vitest: Add
vitest/prefer-describe-function-titlerule (edda58d) - vue2: Disallow comments in Vue2 template root for better migration to v3 (7d67cb5)
- vue: Add
vue/no-implicit-coercionextension rule (3e92adb) - vue: Add
vue/no-import-compiler-macrosrule (12239ed) - vue: Set
compilerOptionsfield tovue/order-in-componentsrule (6d22060) - vue: Set
slotsandexposefields tovue/order-in-componentsrule (32a8cbf) - vue: Take account of
vue/define-props-destructuringrule (867dd2f) - yaml: Add
alignMultilineFlowScalarsoption toyml/indentrule (da59e0c)
Refactoring
- javascript: Migrate to new syntax in
perfectionist/sort-importscustomGroups (a5fede5)
Bug fixes
- vitest: Allow arguments in
vitest/valid-title(a30e578)
Tests
- Let vue2-only rules marked as deprecated be in the list for a while (c0eaf72)
v37.0.0
⚠ BREAKING CHANGES
- typescript: With new rule
@typescript-eslint/no-misused-spreadTypescript configuration becomes more strict and may produce new errors. - html: With new rule
@html-eslint/require-input-labelHTML-related configurations become more strict and may produce new errors. - html: With new rule
@html-eslint/prefer-httpsHTML-related configurations become more strict and may produce new errors. - html: With new rule
@html-eslint/require-form-methodHTML-related configurations become more strict and may produce new errors. - html: With new rule
@html-eslint/no-nested-interactiveHTML-related configurations become more strict and may produce new errors. - html: With new rule
@html-eslint/no-invalid-roleHTML-related configurations become more strict and may produce new errors. - html: With new rule
@html-eslint/no-heading-inside-buttonHTML-related configurations become more strict and may produce new errors.
Features
- html: Add
@html-eslint/no-heading-inside-buttonrule (d4829c2) - html: Add
@html-eslint/no-invalid-rolerule (4dc6639) - html: Add
@html-eslint/no-nested-interactiverule (dd61660) - html: Add
@html-eslint/prefer-httpsrule (e52077e) - html: Add
@html-eslint/require-form-methodrule (87e7cd2) - html: Add
@html-eslint/require-input-labelrule (06a56df) - html: Take account of
@html-eslint/max-element-depthrule (4a93e63) - html: Take account of
@html-eslint/require-explicit-sizerule (f3489bb) - javascript: Increase the number of banned abbreviations (576b79d)
- json: Add
package-json/no-empty-fieldsrule (fca4a21) - json: Add some of
package-json/require-*rules (27ed71c) - json: Take account of
package-json/no-redundant-filesrule (c29c17a) - typescript: Add
@typescript-eslint/no-misused-spreadrule (cc0acc4) - vitest: Take account of
vitest/prefer-strict-boolean-matchersrule (b4705f0) - vitest: Take account of
vitest/require-mock-type-parametersrule (c3da3b3)
Bug fixes
v36.3.2
No notable changes in this release, just dependencies update.