v9.0.0 (unreleased)
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.
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
- 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-bindrule #1063 (susnux) - feat(vue): add
vue/prefer-separate-static-classrule #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)
- 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
stylisticrules 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
appNameandappVersionglobal + fix access #972 - fix(typescript): allow to use function before definition #950
- fix(typescript): remove
@typescript-eslint/no-shadow#993 - fix(typescript): enforce
import typefor 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
l10nandjsdirectory 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/quotesrule #1109 (susnux) - fix(l10n-plugin): also check translation strings in
nmethod #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-styleto 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)
- 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 lintwithout 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
@nextcloudplugin #1278 (susnux) - Updated
@eslint/jsonto 0.14.0 - Updated
@stylistic/eslint-pluginto 5.7.0 - Updated
eslint-config-flat-gitignoreto 2.1.0 - Updated
eslint-plugin-antfuto 3.1.3 - Updated
eslint-plugin-jsdocto 62.0.0 - Updated
eslint-plugin-perfectionistto 5.3.1 - Updated
eslint-plugin-vueto 10.6.2 - Updated
fast-xml-parserto 5.3.3 - Updated
globalsto 17.0.0 - Updated
semverto 7.7.3 - Updated
sort-package-jsonto 3.6.0 - Updated
typescript-eslintto 8.53.0
v8.4.2 (2025-02-16)
- Updated development dependencies
- Add SPDX header #802 (AndyScherzinger)
- enh(git): ignore formatting commits in git blame #854 (max-nextcloud)
v8.4.1 (2024-05-16)
- fix(vue3): align rules with Vue 2 rules #771 (ShGKme)
- fix(vue3): config crashes ESLint #770 (ShGKme)
- build(deps-dev): Bump eslint-plugin-jsdoc from 48.2.4 to 48.2.5 #769 (dependabot)
v8.4.0 (2024-05-15)
- Vue 3 support: There is a new sub-configuration for projects using Vue 3
v8.3.0 (2023-09-25)
- Typescript 5 support
- Allow linting of typescript with module resolution set to
node16ornodenext#527 (susnux) - Support Composition API & Typescript + Vue projects #562 (susnux)
- Allow linting of TSX files #456 (susnux)
- 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
devDependencieswithin config files #580 (susnux) - fix: Allow
@jest-environmentdocblock for jest tests #592 (susnux)
- Various dependencies upgrades
- chore: Update
@nextcloud/eslint-pluginto 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)
Fixed:
Merged pull requests:
- Various dependencies upgrades
v8.2.0 (2023-01-11)
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:
- Bump @babel/core from 7.20.7 to 7.20.12 #432 (dependabot[bot])
- Bump eslint from 8.30.0 to 8.31.0 #431 (dependabot[bot])
v8.1.5 (2023-01-02)
Dependency updates:
v8.1.4 (2022-11-17)
Fixed:
v8.1.3 (2022-11-04)
Fixed:
Dependency updates:
- Bump @babel/core from 7.18.10 to 7.19.6 #404 (dependabot)
- Bump @babel/eslint-parser from 7.18.9 to 7.19.1 #392 (dependabot)
- Bump eslint from 8.21.0 to 8.26.0 #406 (dependabot)
- Bump eslint-plugin-jsdoc from 39.3.13 to 39.6.2 #414 (dependabot)
- Bump eslint-plugin-n from 15.2.4 to 15.4.0 #409 (dependabot)
- Bump eslint-plugin-promise from 6.0.0 to 6.1.1 #405 (dependabot)
- Bump eslint-plugin-vue from 9.3.0 to 9.7.0 #410 (dependabot)
v8.1.2 (2022-08-09)
Dependency updates:
- Use
eslint-plugin-ninstead ofeslint-plugin-node
v8.0.0 (2022-04-20)
Breaking:
Dependency updates:
- Bump eslint from 8.7.0 to 8.8.0 #282 (dependabot[bot])
- Bump eslint from 8.8.0 to 8.9.0 #296 (dependabot[bot])
v7.0.2 (2022-01-20)
Fixed:
Dependency updates:
- Bump eslint from 8.6.0 to 8.7.0 #271 (dependabot[bot])
- Bump @babel/core from 7.16.7 to 7.16.10 #273 (dependabot[bot])
v7.0.1 (2022-01-17)
Fixed bugs:
Dependency updates:
- Bump webpack from 5.65.0 to 5.66.0 #269 (dependabot[bot])
- Bump eslint-plugin-vue from 8.2.0 to 8.3.0 #268 (dependabot[bot])
v7.0.0 (2022-01-12)
Merged pull requests:
v6.1.2 (2021-12-20)
Fixes:
v6.1.1 (2021-12-02)
Fixes:
v6.1.0 (2021-08-11)
Fix dependency:
- Remove undesired eslint-webpack-plugin (skjnldsv)
v6.0.1 (2021-08-11)
Merged pull requests:
v5.1.0 (2021-05-03)
Merged pull requests:
Updated dependencies:
- Bump webpack from 5.36.1 to 5.36.2 #112 (dependabot[bot])
- Bump @babel/core from 7.13.16 to 7.14.0 #109 (dependabot[bot])
- Bump webpack from 5.36.0 to 5.36.1 #108 (dependabot[bot])
- Bump webpack from 5.35.0 to 5.36.0 #107 (dependabot[bot])
- Bump eslint from 7.24.0 to 7.25.0 #104 (dependabot[bot])
- Bump webpack from 5.34.0 to 5.35.0 #102 (dependabot[bot])
- Bump @babel/core from 7.13.15 to 7.13.16 #100 (dependabot[bot])
- Bump webpack from 5.33.2 to 5.34.0 #99 (dependabot[bot])
- Bump eslint-webpack-plugin from 2.5.3 to 2.5.4 #98 (dependabot[bot])
- Bump webpack from 5.32.0 to 5.33.2 #97 (dependabot[bot])
- Bump webpack from 5.31.2 to 5.32.0 #96 (dependabot[bot])
- Bump eslint-plugin-vue from 7.8.0 to 7.9.0 #95 (dependabot[bot])
- Bump eslint from 7.23.0 to 7.24.0 #94 (dependabot[bot])
- Bump webpack from 5.31.0 to 5.31.2 #93 (dependabot[bot])
- Bump @babel/core from 7.13.14 to 7.13.15 #92 (dependabot[bot])
- Bump webpack from 5.30.0 to 5.31.0 #91 (dependabot[bot])
- Bump webpack from 5.28.0 to 5.30.0 #90 (dependabot[bot])
- Bump @babel/eslint-parser from 7.13.10 to 7.13.14 #89 (dependabot[bot])
- Bump eslint from 7.13.0 to 7.23.0 #88 (dependabot[bot])
- Bump @babel/core from 7.13.13 to 7.13.14 #87 (dependabot[bot])
v5.1.0 (2021-05-01)
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)
Implemented enhancements:
Merged pull requests:
- Bump eslint from 7.22.0 to 7.23.0 #86 (dependabot[bot])
- Bump @babel/core from 7.13.10 to 7.13.13 #85 (dependabot[bot])
- Bump eslint-webpack-plugin from 2.5.2 to 2.5.3 #84 (dependabot[bot])
- Bump eslint-plugin-vue from 7.7.0 to 7.8.0 #83 (dependabot[bot])
- Bump eslint from 7.21.0 to 7.22.0 #82 (dependabot[bot])
Breaking dependency upgrade:
Merged pull requests:
- Bump elliptic from 6.5.3 to 6.5.4 #81 (dependabot[bot])
- Bump eslint-plugin-vue from 7.6.0 to 7.7.0 #78 (dependabot[bot])
- Bump eslint from 7.20.0 to 7.21.0 #77 (dependabot[bot])
- Bump eslint-webpack-plugin from 2.5.1 to 2.5.2 #76 (dependabot[bot])
- Bump eslint-webpack-plugin from 2.5.0 to 2.5.1 #75 (dependabot[bot])
- Bump eslint-plugin-vue from 7.5.0 to 7.6.0 #74 (dependabot[bot])
- Bump eslint from 7.19.0 to 7.20.0 #73 (dependabot[bot])
- Bump eslint-plugin-promise from 4.2.1 to 4.3.1 #72 (dependabot[bot])
- Bump eslint-webpack-plugin from 2.4.3 to 2.5.0 #71 (dependabot[bot])
- Bump eslint from 7.18.0 to 7.19.0 #70 (dependabot[bot])
- Bump eslint-plugin-vue from 7.4.1 to 7.5.0 #69 (dependabot[bot])
- Bump eslint-webpack-plugin from 2.4.1 to 2.4.3 #68 (dependabot[bot])
- Bump eslint from 7.17.0 to 7.18.0 #67 (dependabot[bot])
- Bump webpack from 4.45.0 to 4.46.0 #66 (dependabot[bot])
- Bump webpack from 4.44.2 to 4.45.0 #65 (dependabot[bot])
- Bump eslint-plugin-vue from 7.4.0 to 7.4.1 #64 (dependabot[bot])
- Bump eslint from 7.16.0 to 7.17.0 #63 (dependabot[bot])
- Bump eslint-plugin-vue from 7.3.0 to 7.4.0 #62 (dependabot[bot])
- Bump eslint from 7.15.0 to 7.16.0 #61 (dependabot[bot])
- Bump eslint-plugin-vue from 7.2.0 to 7.3.0 #60 (dependabot[bot])
- Bump eslint-plugin-vue from 7.1.0 to 7.2.0 #59 (dependabot[bot])
- Bump eslint from 7.14.0 to 7.15.0 #58 (dependabot[bot])
- Bump eslint-webpack-plugin from 2.4.0 to 2.4.1 #57 (dependabot[bot])
- Bump eslint-webpack-plugin from 2.3.0 to 2.4.0 #56 (dependabot[bot])
- Bump eslint from 7.13.0 to 7.14.0 #55 (dependabot[bot])
- Bump eslint-config-standard from 16.0.1 to 16.0.2 #54 (dependabot[bot])
- Bump eslint-webpack-plugin from 2.2.1 to 2.3.0 #53 (dependabot[bot])
- Bump eslint-plugin-standard from 4.0.2 to 4.1.0 #52 (dependabot[bot])
- Bump eslint from 7.12.1 to 7.13.0 #51 (dependabot[bot])
- Bump eslint-webpack-plugin from 2.2.0 to 2.2.1 #50 (dependabot[bot])
- Bump eslint-webpack-plugin from 2.1.0 to 2.2.0 #49 (dependabot[bot])
v3.0.0 (2020-11-03)
v3.0.0-beta.1 (2020-11-03)
Security fixes:
- [Security] Bump lodash from 4.17.15 to 4.17.19 #41 (dependabot-preview[bot])
Merged pull requests:
- Feat/eslint 7 #48 (skjnldsv)
- Bump eslint-plugin-standard from 4.0.1 to 4.0.2 #47 (dependabot-preview[bot])
- Bump @nextcloud/eslint-plugin from 1.4.0 to 1.5.0 #46 (dependabot-preview[bot])
- Bump eslint-plugin-import from 2.22.0 to 2.22.1 #45 (dependabot-preview[bot])
- Bump webpack from 4.44.1 to 4.44.2 #44 (dependabot-preview[bot])
- Bump webpack from 4.44.0 to 4.44.1 #43 (dependabot-preview[bot])
- Bump webpack from 4.43.0 to 4.44.0 #42 (dependabot-preview[bot])
v2.2.0 (2020-07-08)
v2.1.0 (2020-07-07)
Implemented enhancements:
- Add object-shorthand rule #36 (raimund-schluessler)
Merged pull requests:
- Bump eslint-plugin-import from 2.21.2 to 2.22.0 #40 (dependabot-preview[bot])
- Bump eslint-plugin-import from 2.21.1 to 2.21.2 #39 (dependabot-preview[bot])
- Bump eslint-plugin-import from 2.21.0 to 2.21.1 #38 (dependabot-preview[bot])
- Bump eslint-plugin-import from 2.20.2 to 2.21.0 #37 (dependabot-preview[bot])
- Bump webpack from 4.42.1 to 4.43.0 #34 (dependabot-preview[bot])
- Bump @nextcloud/eslint-plugin from 1.3.0 to 1.4.0 #33 (dependabot-preview[bot])
- Bump @nextcloud/eslint-plugin from 1.2.0 to 1.3.0 #32 (dependabot-preview[bot])
- Bump @nextcloud/eslint-plugin from 1.1.0 to 1.2.0 #31 (dependabot-preview[bot])
- Bump eslint-loader from 3.0.3 to 3.0.4 #30 (dependabot-preview[bot])
- Bump eslint-plugin-import from 2.20.1 to 2.20.2 #29 (dependabot-preview[bot])
- Bump eslint-plugin-node from 11.0.0 to 11.1.0 #28 (dependabot-preview[bot])
v2.0.0 (2020-03-25)
Implemented enhancements:
- Update eslint and eslint-plugin-vue packages #27 (ChristophWurst)
v1.2.0 (2020-03-24)
Merged pull requests:
- Allow jest #26 (ma12-co)
- Bump webpack from 4.42.0 to 4.42.1 #25 (dependabot-preview[bot])
v1.1.1 (2020-03-19)
Security fixes:
- [Security] Bump acorn from 6.4.0 to 6.4.1 #24 (dependabot-preview[bot])
v1.1.0 (2020-03-03)
Merged pull requests:
- Release on github tagging #23 (skjnldsv)
- Bump eslint-plugin-node to ^11 #22 (skjnldsv)
- Bump webpack from 4.41.6 to 4.42.0 #21 (dependabot-preview[bot])
- Bump babel-eslint from 10.0.3 to 10.1.0 #20 (dependabot-preview[bot])
- rename to @nextcloud/eslint-config #19 (korelstar)
v1.0.0 (2020-02-11)
Merged pull requests:
- Bump eslint-plugin-import from 2.20.0 to 2.20.1 #18 (dependabot-preview[bot])
- Bump eslint-plugin-import from 2.19.1 to 2.20.0 #17 (dependabot-preview[bot])
- Bump webpack from 4.41.4 to 4.41.5 #16 (dependabot-preview[bot])
- switch to @nextcloud/eslint-plugin #15 (korelstar)
v0.1.1 (2019-12-21)
Merged pull requests:
- Allow spaces after tabs for alignment #14 (danxuliu)
- Bump webpack from 4.41.3 to 4.41.4 #13 (dependabot-preview[bot])
- Bump webpack from 4.41.2 to 4.41.3 #12 (dependabot-preview[bot])
- Bump eslint-plugin-import from 2.18.2 to 2.19.1 #11 (dependabot-preview[bot])
- Bump eslint-loader from 3.0.2 to 3.0.3 #10 (dependabot-preview[bot])
v0.1.0 (2019-10-26)
Merged pull requests:
- consolidate config #8 (korelstar)
- Bump webpack from 4.41.0 to 4.41.2 #7 (dependabot-preview[bot])
v0.0.6 (2019-10-02)
Merged pull requests:
- Bump eslint-loader from 3.0.0 to 3.0.2 #5 (dependabot-preview[bot])
- Bump webpack from 4.40.2 to 4.41.0 #3 (dependabot-preview[bot])
- remove globals #2 (korelstar)
v0.0.5 (2019-09-24)
v0.0.4 (2019-09-24)
v0.0.3 (2019-09-24)
v0.0.2 (2019-09-24)
Implemented enhancements:
* This Changelog was automatically generated by github_changelog_generator