Skip to content

Latest commit

 

History

History
569 lines (409 loc) · 47.8 KB

File metadata and controls

569 lines (409 loc) · 47.8 KB

Changelog

v9.0.0 (unreleased)

Breaking

This package now is using ESLint v10 and requires ESLint flat configurations. Please refer to the README on how to adjust your configuration for flat config.

Potential pitfalls

Some of the used eslint plugins still keep a ESLint v8 compatibility, this can cause some issues if not all packages are updated to the ESLint v10 compatible version.

If you see a linter error like the one below make sure to update all nested dependencies, either using the sledge hammer method (remove the lock file and run npm i) or by running npm update.

TypeError: scopeManager.addGlobals is not a function

Added

  • feat: migrate to ESLint v10 #1323 (susnux)
  • feat: new modular config for (and with) ESLint v9 support #887
  • feat: merge plugin repository #899
  • feat: enforce non-breaking spaces before ellipsis for translations #948
  • feat: add special config for libraries #949
  • feat: add import and export rules #981
  • feat: introduce @nextcloud/vue eslint plugin #939
  • feat(codeStyle): enforce top-level-function #1033 (ShGKme)
  • feat(nextcloud-vue): add rule for deprecated NcButton props #1045 (susnux)
  • feat(vue): add vue/no-useless-v-bind rule #1063 (susnux)
  • feat(vue): add vue/prefer-separate-static-class rule #1065 (susnux)
  • feat(vue3): add script-setup releated rules #1064 (susnux)
  • feat(no-deprecated-props): extend existing rules to support other components #1069 (Antreesy)
  • feat(imports): add custom plugin to suggest file extensions #1110 (susnux)
  • feat(filesystem): ignore all files within the .gitignore #1108 (susnux)
  • feat(l10n-plugin): also handle vue templates #1113 (susnux)
  • feat(nextcloud-vue-plugin): deprecate additional props #1163 (Antreesy)
  • feat(nextcloud-vue-plugin): deprecate additional exports #1162 (Antreesy)
  • feat(nextcloud-vue-plugin): deprecate NcPopover props #1165 (Antreesy)
  • feat(vue): add vue/component-options-name-casing with PascalCase #1261 (ShGKme)
  • feat(vue3): force camelCase for events in <script> #1262 (ShGKme)
  • feat(vue3): force camelCase for events in <template> #1263 (ShGKme)
  • feat(vue3): force camelCase for slot names #1264 (ShGKme)
  • feat(vue3): force camelCase for props in template #1266 (ShGKme)

Fixed

  • fix(codestyle): do not require splitting chains #951
  • fix(codestyle): adjust empty lines style #952
  • fix(codestyle): Enforce no space before function parenthesis #901
  • fix(codeStyle): Adjust stylistic rules config #914
  • fix(codeStyle): allow single line arrays #997
  • fix(codeStyle): allow devs write small objects in one line #996
  • fix(globs): properly ignore test files #974
  • fix(imports): do not mix externals and internals #1000
  • fix(javascript): allow using functions before they are defined #970
  • fix(javascript): add missing appName and appVersion global + fix access #972
  • fix(typescript): allow to use function before definition #950
  • fix(typescript): remove @typescript-eslint/no-shadow #993
  • fix(typescript): enforce import type for type only imports #977
  • fix(vue): allow JS Vue files #998 (ShGKme)
  • fix(documentation): do not remove JSDoc types in Vue JS files #995 (ShGKme)
  • fix(typescript): allow import in type annotation #1034 (ShGKme)
  • fix(documentation): do not lint tests for documentation issues #1062 (susnux)
  • fix: ignore l10n and js directory for apps #1061 (susnux)
  • fix(imports): do not mix externals and internals #1000 (ShGKme)
  • fix(codeStyle): allow single line arrays #997 (ShGKme)
  • fix(typescript): remove @typescript-eslint/no-shadow #993 (ShGKme)
  • fix(codeStyle): allow devs write small objects in one line #996 (ShGKme)
  • fix: ignore test report directories from linting #1096 (Antreesy)
  • fix(vue): also ignore the global router link component #1097 (susnux)
  • fix(no-deprecated-props): respect nextcloud/vue library version for the rule #1084 (Antreesy)
  • fix(codestyle): replace deprecated config in @stylistic/quotes rule #1109 (susnux)
  • fix(l10n-plugin): also check translation strings in n method #1112 (susnux)
  • fix(filesystem): relax ignored files #1114 (susnux)
  • fix(globs): adjust globs for test related files #1128 (susnux)
  • fix(vue): use vue variant of no-irregular-whitespace #1129 (susnux)
  • fix(nextcloud): add missing deprecations and removals #1206 (susnux)
  • fix(plugin:nextcloud-vue): use resolved dependency for detecting nextcloud-vue version #1220 (susnux)
  • fix: switch to @stylistic/exp-list-style to resolve array edge-cases #1203 (susnux)
  • fix(nextcloud-plugin): add more removed API in Nextcloud 33 #1269 (susnux)
  • fix: use vue-eslint-parser directly #1277 (susnux)

Changed

  • Add SPDX header #802
  • Updated development dependencies
  • refactor(json): drop now unneeded @ts-expect-error #915
  • refactor: use camelCase for internal variables #971 (susnux)
  • chore: do not bundle config but just use Typescript #967
  • chore: require node ^20.19 #982
  • chore: allow to run npm lint without compile step #975 (susnux)
  • chore: prepare v9.0.0-rc.1 #1010 (susnux)
  • docs: consistent badge style with the reuse one #1060 (susnux)
  • docs: add documentation about update policy and development #1009 (susnux)
  • test: fix tests and add workflow to run them on CI #1046 (susnux)
  • ci: update workflows from organization #1047 (susnux)
  • chore: add active node version (24) to supported engines #1066 (susnux)
  • build: add common changelog formatting and documentation for it #1067 (susnux)
  • chore: lint this project as a library #1130 (susnux)
  • chore: update devEngines to align with apps #1204 (susnux)
  • build: disable libcheck for Typescript #1205 (susnux)
  • chore(gitignore): ignore IDE configs #1265 (ShGKme)
  • test(vue3): add some formatting tests #1267 (ShGKme)
  • refactor: merge Nextcloud specific rules into the @nextcloud plugin #1278 (susnux)
  • Updated @eslint/json to 0.14.0
  • Updated @stylistic/eslint-plugin to 5.7.0
  • Updated eslint-config-flat-gitignore to 2.1.0
  • Updated eslint-plugin-antfu to 3.1.3
  • Updated eslint-plugin-jsdoc to 62.0.0
  • Updated eslint-plugin-perfectionist to 5.3.1
  • Updated eslint-plugin-vue to 10.6.2
  • Updated fast-xml-parser to 5.3.3
  • Updated globals to 17.0.0
  • Updated semver to 7.7.3
  • Updated sort-package-json to 3.6.0
  • Updated typescript-eslint to 8.53.0

v8.4.2 (2025-02-16)

Fixed

  • fix(typescript): do not require returns type in jsdoc #857 (ShGKme)

Changed

v8.4.1 (2024-05-16)

Full Changelog

Fixes

  • fix(vue3): align rules with Vue 2 rules #771 (ShGKme)
  • fix(vue3): config crashes ESLint #770 (ShGKme)

Changed

  • build(deps-dev): Bump eslint-plugin-jsdoc from 48.2.4 to 48.2.5 #769 (dependabot)

v8.4.0 (2024-05-15)

Features

  • Vue 3 support: There is a new sub-configuration for projects using Vue 3

v8.3.0 (2023-09-25)

Full Changelog

Features

  • Typescript 5 support
  • Allow linting of typescript with module resolution set to node16 or nodenext #527 (susnux)
  • Support Composition API & Typescript + Vue projects #562 (susnux)
  • Allow linting of TSX files #456 (susnux)

Fixes

  • Ignore camelcase rule for __webpack variables #530 (kesselb)
  • Add Typescript overrides for all valid Typescript file extensions #567 (susnux)
  • Allow empty functions #570 (skjnldsv)
  • fix(typescript): Also set the typescript settings to the vue overrides for typescript import resolving #639 (susnux)
  • fix(typescript): Allow generic type parameters on function calls #571 (susnux)
  • Make sure vue files written in Typescript are linted correctly #579 (susnux)
  • fix: Allow to import packages from devDependencies within config files #580 (susnux)
  • fix: Allow @jest-environment docblock for jest tests #592 (susnux)

Changed

  • Various dependencies upgrades
  • chore: Update @nextcloud/eslint-plugin to version 2.1.0 #605 (susnux)
  • Drop webpack dependency #528 (susnux) 538
  • Update node engines to next LTS (node 20 and NPM 9) #563 (nextcloud-command) 565
  • Make eslint to take this config for linting the config #572 (susnux)
  • chore: Fix URLs after package got transfered #602 (susnux)

v8.2.1 (2023-01-30)

Full Changelog

Fixed:

  • Fix resolving packages that use the package exports feature #452 (susnux)

Merged pull requests:

  • Various dependencies upgrades

v8.2.0 (2023-01-11)

Full Changelog

Implemented enhancements:

  • feat: Add scripts for linting the config and fixed issues found #434 (susnux)
  • feat: Add sub config for TypeScript projects #433 (susnux)

Dependency updates:

v8.1.5 (2023-01-02)

Full Changelog

Dependency updates:

v8.1.4 (2022-11-17)

Full Changelog

Fixed:

v8.1.3 (2022-11-04)

Full Changelog

Fixed:

  • Allow TypeScript syntax in JSDoc comments #413 (Pytal)

Dependency updates:

v8.1.2 (2022-08-09)

Full Changelog

Dependency updates:

v8.0.0 (2022-04-20)

Full Changelog

Breaking:

  • Require file extensions on import #292 (Pytal)

Dependency updates:

v7.0.2 (2022-01-20)

Full Changelog

Fixed:

  • Fix usual same-line vue attribute behaviour #272 (skjnldsv)

Dependency updates:

v7.0.1 (2022-01-17)

Full Changelog

Fixed bugs:

Dependency updates:

v7.0.0 (2022-01-12)

Full Changelog

Merged pull requests:

v6.1.2 (2021-12-20)

Full Changelog

Fixes:

  • Fix vue custom event name casing #249 (Pytal)

v6.1.1 (2021-12-02)

Full Changelog

Fixes:

v6.1.0 (2021-08-11)

Full Changelog

Fix dependency:

  • Remove undesired eslint-webpack-plugin (skjnldsv)

v6.0.1 (2021-08-11)

Full Changelog

Merged pull requests:

Full Changelog

Breaking

  • Require a space before async arrow function parentheses #146 (Pytal)

Features

Fixes

Full Changelog

v5.1.0 (2021-05-03)

Full Changelog

Merged pull requests:

Updated dependencies:

v5.1.0 (2021-05-01)

Full Changelog

Closed issues:

  • Inconsistency between package.json and package-lock.json? #106
  • Is eslint-plugin-standard still necessary as peerDependency? #101

v5.0.0 (2021-03-29)

Full Changelog

Implemented enhancements:

Merged pull requests:

Full Changelog

Breaking dependency upgrade:

  • Replace babel-eslint with @babel/eslint-parser #80 (st3iny)

Merged pull requests:

v3.0.0 (2020-11-03)

Full Changelog

v3.0.0-beta.1 (2020-11-03)

Full Changelog

Security fixes:

Merged pull requests:

v2.2.0 (2020-07-08)

Full Changelog

v2.1.0 (2020-07-07)

Full Changelog

Implemented enhancements:

Merged pull requests:

v2.0.0 (2020-03-25)

Full Changelog

Implemented enhancements:

v1.2.0 (2020-03-24)

Full Changelog

Merged pull requests:

v1.1.1 (2020-03-19)

Full Changelog

Security fixes:

v1.1.0 (2020-03-03)

Full Changelog

Merged pull requests:

v1.0.0 (2020-02-11)

Full Changelog

Merged pull requests:

v0.1.1 (2019-12-21)

Full Changelog

Merged pull requests:

v0.1.0 (2019-10-26)

Full Changelog

Merged pull requests:

v0.0.6 (2019-10-02)

Full Changelog

Merged pull requests:

v0.0.5 (2019-09-24)

Full Changelog

v0.0.4 (2019-09-24)

Full Changelog

v0.0.3 (2019-09-24)

Full Changelog

v0.0.2 (2019-09-24)

Full Changelog

Implemented enhancements:

* This Changelog was automatically generated by github_changelog_generator