Skip to content

Latest commit

 

History

History
204 lines (152 loc) · 10.7 KB

CHANGELOG.md

File metadata and controls

204 lines (152 loc) · 10.7 KB

0.4.1

  • In typescript config, setting filesTypeAware: false now fully disables the config for running type-aware rules. Same if an empty array is provided.
  • Added the ability to disable running type-aware rules (or even any TypeScript rules) on the files specified in enforceTypescriptInScriptSection option.
  • Exposed isInEditor utility from is-in-editor package that checks if the current process is running within a well known editor.

Dependencies

  • @stylistic/eslint-plugin: 2.12.1 -> 2.13.0
  • typescript-eslint: 8.19.1 -> 8.20.0
  • eslint-config-prettier: 9.1.0 -> 10.0.1
    • In v10, @stylistic/eslint-plugin is supported, which disables some of @stylistic/* rules.
  • eslint-plugin-jest: 28.10.0 -> 28.11.0
  • eslint-plugin-jest-extended: 2.4.0 -> 3.0.0
  • eslint-plugin-jsdoc: 50.6.1 -> 50.6.2
  • eslint-plugin-package-json: 0.19.0 -> 0.20.0
  • eslint-plugin-prefer-arrow-functions: 3.6.0 -> 3.6.2
  • eslint-plugin-tailwindcss: 3.17.5 -> 3.18.0

0.4.0

Dependencies

  • eslint-plugin-sonarjs: 1.0.4 -> 3.0.1
    • [BREAKING] Significantly changed sonar config: added a lot of new rules, some were disabled, some were enabled.
  • eslint-plugin-prefer-arrow-functions: 3.4.1 -> 3.6.0
  • @vitest/eslint-plugin: 1.1.24 -> 1.1.25

0.3.1

  • New config: jsdoc via eslint-plugin-jsdoc, enabled by default.
  • Changed the severity of all the eslint-plugin-vue's recommended rules to error (which turned out to be warn by default).
  • Disabled import/no-default-export rule for files starting with a dot and Storybook files (files inside .storybook directory and story files).

Dependencies

  • typescript-eslint: 8.18.1 -> 8.19.1
  • @vitest/eslint-plugin: 1.1.20 -> 1.1.24
  • eslint-plugin-package-json: 0.18.0 -> 0.19.0

0.3.0

  • [BREAKING] prefer-inline option of import/no-duplicates rule is now set to true. Added an new option noDuplicatesOptions in import config to override this behavior.
  • [BREAKING] Removed overridesPinia option from vue config in favor of adding the ability to pass more usual config options in pinia option.
  • New config: jest via eslint-plugin-jest, enabled automatically if jest package is installed.
  • New config: jest-extended via eslint-plugin-jest-extended, enabled automatically if both jest and jest-extended packages are installed.
  • New config: vitest via @vitest/eslint-plugin, enabled automatically if vitest package is installed.

Dependencies

  • eslint-plugin-import-x: 4.4.2 -> 4.6.1 & eslint-import-resolver-typescript: 3.6.3 -> 3.7.0
  • typescript-eslint: 8.14.0 -> 8.18.1
  • eslint-plugin-jsonc: 2.18.1 -> 2.18.2
    • Fixes an ESLint 9.15 compatibility issue.
  • eslint-plugin-unicorn: 56.0.0 -> 56.0.1
    • Fixes an ESLint 9.15 compatibility issue.
  • @stylistic/eslint-plugin: 2.10.1 -> 2.12.1
  • eslint-plugin-jest: 28.9.0 -> 28.10.0
  • eslint-plugin-n: 17.13.2 -> 17.15.1
  • eslint-plugin-package-json: 0.15.6 -> 0.18.0
    • overrides collection is now sorted by default.
  • eslint-plugin-promise: 7.1.0 -> 7.2.1
  • eslint-plugin-toml: 0.11.1 -> 0.12.0
  • eslint-plugin-vue: 9.31.0 -> 9.32.0
    • [BREAKING] Enabled a new slot-name-casing rule, which enforces camelCase for slot names.
  • eslint-plugin-yml: 1.15.0 -> 1.16.0

0.2.4

  • Fixed a wrong type of config eslint-plugin-tailwindcss plugin setting.

0.2.3

  • Added an option to specify eslint-plugin-tailwindcss plugin settings.
  • Allow default export in Nuxt's app/router.options.ts file.

0.2.2

  • Fixed an issue resulting in files with any extensions being linted in Nuxt custom project directory.

0.2.1

  • Fixed an issue resulting in markdown processor being applied to all files, effectively ignoring other processors like vue.

0.2.0

  • New config: markdown via @eslint/markdown, enabled by default.
  • New config: cssInJs via eslint-plugin-css, enabled by default.
  • Added a boolean option overrideIgnores to completely override global ignores provided by our config.
  • Added a node config option to configure prefer-global rule for each feature.
  • Fixed an issue in vue config where Nuxt's app.vue and error.vue files in a custom project directory were not recognized.
  • Dependencies:

0.1.6

  • Fixed an issue in vue config where recommended rules were not picked up.
  • yaml: do not enforce casing by default.

0.1.5

0.1.4

  • New config: json (for linting .json, .jsonc, .json5 files) via eslint-plugin-jsonc.
  • Support for merging default files with user-specified files via doNotMergeFilesWithDefault option for yaml, toml and json configs.
  • Dependencies:
    • typescript-eslint@8.10.0
      • Support for TypeScript 5.6.

0.1.3

0.1.2

0.1.1

  • Vue: trailing slash in user-supplied paths (for example, in nuxtOrVueProjectDir) is now optional.
  • Vue: fixed problems related to the rules applied to wrong files.

0.1.0

Breaking changes

  • Force no empty lines between import statements by default.

Other changes

  • New configs: yaml and prefer-arrow-functions (both disabled by default).
  • New option to add an auto fix to remove unused imports (enabled by default).
  • Ability to set the same severity for all rules of a config.
  • Added an option to control reportUnusedDisableDirectives param of vue/comment-directive rule.
  • Dependencies:
  • Internal code refactoring.

0.0.7

  • Update dependencies. Highlights:
  • Ensure type safety of overrides option.
  • Set allowChildren: true for vuejs-accessibility/label-has-for.

0.0.6

  • Update dependencies. Highlights:
    • Update typescript-eslint to v8.0.0.
  • Disable unicorn/no-magic-array-flat-depth rule. Disallow Infinity literal.

0.0.5

  • Update dependencies. Highlights:
    • Update eslint-plugin-unicorn to v55.0.0 and enable the new unicorn/no-length-as-slice-end rule.
    • eslint-plugin-promise to v7.0.0 and change the minimum node version to 18.18.0.
  • Add an option to disable all the TypeScript type-aware no-unsafe-* rules.
  • Make FlatConfigEntry type work with ESLint types for v8.

0.0.4

  • Add types to all the rules via eslint-typegen.
  • Update dependencies.

0.0.3

  • Automatically add files from .gitignore to the list of ignored files.
  • Allow to specify .vue files authored in TypeScript and JavaScript to apply different rules.
  • Allow to specify pinia stores suffix.
  • Added router-link, router-view and Nuxt-specific components to the list of known Vue components.
  • Disabled vue/no-boolean-default rule.
  • Make sure prefer-const rule does not report if any of the destructured variables is reassigned.
  • Update dependencies.

0.0.2

Initial release.