Skip to content

Releases: wikimedia/eslint-config-wikimedia

0.28.2 / 2024-06-12

12 Jun 18:00
Compare
Choose a tag to compare
  • jquery: Upgrade eslint-plugin-no-jquery to 3.0.1 (James D. Forrester)

0.28.1 / 2024-06-10

10 Jun 17:23
Compare
Choose a tag to compare
  • jquery: Upgrade eslint-plugin-no-jquery to 3.0.0 (James D. Forrester)
  • jquery: Raise tested version to 3.7, to match MediaWiki (James D. Forrester)

0.28.0 / 2024-06-03

03 Jun 16:55
Compare
Choose a tag to compare
  • [BREAKING CHANGE] Drop claimed Node 16 support (James D. Forrester)

  • Rule fix: vue-exports-component-directive: Prefer defineComponent()
  • Rule fix: vue-exports-component-directive: Make fixable

  • common: Disable regex security checks (Ed Sanders)
  • language: Move es-x/no-resizable-and-growable-arraybuffers to rules-es5 (Ed Sanders)
  • language: Prefer arrow callbacks in ES6 (Ed S)
  • jquery: Enable no-extend (allowDeep: true) (Ed Sanders)

  • common: Update eslint-plugin-unicorn to 53.0.0 (James D. Forrester)
  • jest: Upgrade eslint-plugin-jest to 28.5.0 (James D. Forrester)
  • jsdoc: Update eslint-plugin-jsdoc to 48.2.5 (James D. Forrester)
  • json: Update eslint-plugin-json-es to 1.6.0 (James D. Forrester)
  • mediawiki: Upgrade browserslist-config-wikimedia dependency to ^0.7.0 (James D. Forrester)
  • mediawiki: Upgrade eslint-plugin-mediawiki to 0.7.0 (James D. Forrester)
  • mocha: Upgrade eslint-plugin-mocha to 10.4.3 (James D. Forrester)
  • node: Upgrade eslint-plugin-n to 17.7.0 (James D. Forrester)
  • vue: Upgrade eslint-plugin-vue to 9.26.0 (James D. Forrester)
  • yaml: Upgrade eslint-plugin-yml to 1.14.0 (James D. Forrester)

0.27.0 / 2024-03-29

02 Apr 21:39
Compare
Choose a tag to compare
  • [BREAKING CHANGE] Require Node 16, up from Node 14 (#554) (James D. Forrester)
  • Upgrade ESLint to 8.57.0 (James D. Forrester)

  • client/common: Disable es-x/no-resizable-and-growable-arraybuffers, too many false positives (James D. Forrester)

  • jsdoc: Update eslint-plugin-jsdoc to 46.9.0 (#537) (Ed S)
  • node: Update eslint-plugin-n to 16.3.1 (#543) (Ed S)
  • common: Update eslint-plugin-unicorn to 49.0.0 (#544) (Ed S)
  • Raise browserslist-config-wikimedia dependency from ^0.5.1 to ^0.6.1 (#559) (James D. Forrester)
  • mediawiki: Upgrade eslint-plugin-mediawiki to v0.6.0 (#560) (James D. Forrester)
  • mocha: Upgrade eslint-plugin-mocha to 10.4.1 (James D. Forrester)
  • vue: Upgrade eslint-plugin-vue to 9.23.0 (James D. Forrester)
  • yaml: Upgrade eslint-plugin-yml to 1.13.2 (James D. Forrester)
  • jest: Upgrade eslint-plugin-jest to 27.9.0 (James D. Forrester)
  • language: Upgrade eslint-plugin-es-x to 7.6.0 (James D. Forrester)
  • node: Upgrade eslint-plugin-n to 16.6.2 (James D. Forrester)
  • build: Upgrade qunit to 2.20.1 (James D. Forrester)
  • common: Upgrade eslint-plugin-unicorn to 51.0.1 (James D. Forrester)
  • selenium: Upgrade eslint-plugin-wdio to 8.24.12 (James D. Forrester)
  • jsdoc: Upgrade eslint-plugin-jsdoc to 48.2.1 (James D. Forrester)
  • qunit: Upgrade eslint-plugin-qunit to 8.1.1 (James D. Forrester)

0.26.0 / 2023-11-14

22 Nov 01:29
6ac6f0d
Compare
Choose a tag to compare
  • Update ESLint to 8.53.0 (Ed Sanders)

  • client-es6: Require empty line between ES6 class members (Bartosz Dziewoński)
  • common: Remove allowSingleLine exception from brace-style (Ed Sanders)
  • vue: Update eslint-plugin-vue to 9.18.1 (James D. Forrester; Ed Sanders)
    • vue3/common:
      • Add vue/no-child-content rule
      • Add vue/no-expose-after-await rule
      • Add vue/no-reserved-component-names rule
      • Add vue/no-use-computed-property-like-method rule
      • Add vue/no-v-text-v-html-on-component rule
      • Add vue/prefer-import-from-vue rule
      • Add vue/valid-attribute-name rule
    • vue2/common:
      • Add vue/no-child-content rule
      • Add vue/no-reserved-component-names rule
      • Add vue/no-use-computed-property-like-method rule
      • Add vue/no-v-text-v-html-on-component rule
      • Add vue/valid-attribute-name rule
      • Add vue/valid-model-definition rule
      • Add vue/no-export-in-script-setup rule
      • Add vue/no-ref-as-operand rule
      • Add vue/no-setup-props-destructure rule
      • Add vue/return-in-emits-validator rule
      • Add vue/valid-define-emits rule
      • Add vue/valid-define-props rule
  • common: Update eslint-plugin-unicorn to 47.0.0 (James D. Forrester)
  • yaml: Update eslint-plugin-yml from 0.14.0 to 1.10.0 (James D. Forrester; Ed Sanders)
  • mocha: Update eslint-plugin-mocha from 9.0.0 to 10.2.0 (James D. Forrester)
    • Add mocha/no-empty-description rule
  • qunit: Update eslint-plugin-qunit from 7.3.0 to 7.3.4 (James D. Forrester)
  • language: Update eslint-plugin-es-x from 5.2.1 to 7.3.0 (James D. Forrester)
    • Update server to apply es-x/no-hashbang alongside node/shebang
  • common: Require spaces in template-curly-spacing (Ed Sanders)
  • jest: Create a 'jest' shared config (Ed Sanders)
  • Node: Migrate from eslint-plugin-node to eslint-plugin-n (Ed Sanders)
  • qunit: Allow the variable hooks to be shadowed (Ed Sanders)
  • jsdoc: add @ignore, @internal and @stable as definedTags (MusikAnimal)
  • Rename shared configs by grouping in folders (Ed Sanders)
  • jsdoc: Update eslint-plugin-jsdoc to 42.0.0 (Ed Sanders)
    • Add jsdoc/no-blank-block-descriptions rule
  • jest: Update eslint-plugin-jest to 27.6.0 (Ed Sanders)
  • common: Update eslint-plugin-yml to 1.10.0 (Ed Sanders)

  • build: Fix some but not all word-wrap and semver CVE issues (James D. Forrester)
  • README: Drop old Travis-CI tag (James D. Forrester)
  • tests: Assert that valid fixtures contain no disables (Ed Sanders)
  • tests: Remove useless eslint-env browser comments (Ed Sanders)
  • tests: Avoid variables named with Hungarian notation (Ed Sanders)
  • tests: Simplify package.json tests (Ed Sanders)
  • tests: Refactor loading of extended configs/globals (Ed Sanders)
  • tests: Test upstream config for node (Ed Sanders)
  • build: Update eslint-plugin-compat dependency from 4.1.4 to 4.2.0 (James D. Forrester)
  • build: Add Node 20.x testing to CI (Ed Sanders)
  • Raise browserslist-config-wikimedia dependency from ^0.5.0 to ^0.5.1 (James D. Forrester)
  • build: Update QUnit from 2.19.4 to 2.20.0 (James D. Forrester)

0.25.1 / 2023-05-24

24 May 16:15
e365b31
Compare
Choose a tag to compare
  • client-common: Disable security/detect-possible-timing-attacks (Ed Sanders)
  • mediawiki: Update eslint-plugin-compat to 4.1.4 (Daimona Eaytoy)
  • json: Disable security/detect-bidi-characters (Ed Sanders)

0.25.0 / 2023-04-27

28 Apr 13:51
5abaaa0
Compare
Choose a tag to compare
  • client: Change default from ES5 to ES6 (James D. Forrester)
  • common: Also inherit from plugin:security/recommended (James D. Forrester)
  • mediawiki: Upgrade browserslist-config-wikimedia for compat/compat rule (Ed Sanders)
  • mediawiki: Upgrade eslint-plugin-mediawiki to v0.5.0 (James D. Forrester)
  • mediawiki: Use only ES6 browsers for compat/compat (Roan Kattouw)
  • mediawiki: Use upstream shared configs common and vue (Ed Sanders)
  • mediawiki-qunit: new preset (ES2022 async-await in unit tests) (Timo Tijhof)
  • qunit: Update eslint-plugin-qunit to 7.3.0 or later (Timo Tijhof)

0.24.0 / 2023-01-17

17 Jan 14:47
fe94491
Compare
Choose a tag to compare
  • Drop support for Node 12 (Ed Sanders)
  • Update ESLint to 8.31.0 (Ed Sanders)

  • jsdoc: Update eslint-plugin-jsdoc to 39.2.2 (Ed Sanders)
  • language: Remove reference to non-existent "restrict-to-es2022" (Ed Sanders)
  • language: Disable es-x/no-symbol-prototype-description (Ed Sanders)
  • language: Replace es-x/no-array-prototype-keys/values with no-restricted-syntax (Ed Sanders)

  • build: Test in Node 18 (Active LTS) (Ed Saners)

0.23.0 / 2022-07-30

01 Aug 16:33
bafeb8c
Compare
Choose a tag to compare
  • Update ESLint to 8.14.0 (Ed Sanders)

  • client-es6: Use vue-es6 instead of vue3-es6 (Roan Kattouw)
  • common: Enable no-constant-binary-expression (Ed Sanders)
  • common: Update eslint-plugin-unicorn to 42.0.0 (Ed Sanders)
  • common: Lint dot files by default (Ed Sanders)
  • common: Add stylelint- comments to max-len ignorePattern (Roan Kattouw)
  • jsdoc: Update eslint-plugin-jsdoc to 38.1.6 (Ed Sanders)
  • json: Update eslint-plugin-json-es from 1.5.4 to 1.5.7 (Ed Sanders)
  • language: Add es2022 config (Ed Sanders)
  • language: Replace eslint-plugin-es with eslint-plugin-es-x (Ed Sanders)
  • language: Simplify language rules (Ed Sanders)
  • mediawiki: Upgrade eslint-plugin-mediawiki to v0.4.0 (James D. Forrester)
  • mediawiki: Add "exports" global (Roan Kattouw)
  • mediawiki: Update browserslist-config-wikimedia to 0.4.0 (Ed Sanders)
  • mediawiki: Get browsers list from browserslist-config-wikimedia (Ed Sanders)
  • selenium: Update eslint-plugin-wdio to 7.19.4 (Ed Sanders)
  • vue: Use Vue 3 by default (Roan Kattouw)
  • vue: Update eslint-plugin-vue to 8.7.1 (Ed Sanders)
  • yaml: Update eslint-plugin-yml from 0.13.0 to 0.14.0 (Ed Sanders)

  • build: Run tests before linting (Ed Sanders)
  • docs: Add back the possessive for the missing files error message (James D. Forrester)
  • tests: Fix inconsistent whitespace in ignore comments (Ed Sanders)
  • tests: Update qunit from 2.17.2 to 2.18.2 (Ed Sanders)
  • tests: Fix typo in test (Ed Sanders)
  • tests: Add tests for languages/es5 (Ed Sanders)

0.22.1 / 2022-02-08

08 Feb 18:33
d761103
Compare
Choose a tag to compare
  • vue: Update for new rules in eslint-plugin-vue 8.4.1 (Roan Kattouw)

  • build: Add missing yaml.json to package files (Ed Sanders)
  • tests: Check that all files are included in package.json's files list (Ed Sanders)