Skip to content

Releases: eslint-stylistic/eslint-stylistic

v1.5.0

05 Dec 11:33
Compare
Choose a tag to compare

   🚀 Features

Screenshot 2023-12-05 at 12 34 57
  • Introduce @stylistic/eslint-plugin-plus, a package holding new rules introduced by ESLint Stylistic  -  #203 (02b73)

    • indent-binary-ops: New rule  -  #202 (97166)
    • type-generic-spacing: New rule  -  #200 (1a871)
    • type-named-tuple-spacing: New rule  -  #201 (8a66a)
    • They should improve the overall consistency of the formatting that covers some syntaxes that previously missed
  • configs: Enable extra rules in the configs factory  -  #205 (58f22)

  • js/no-multi-spaces: New includeTabs option  -  #195 (be417)

   🐞 Bug Fixes

  • Remove duplicate rule in all configs  -  by @abrahamguo in #199 (01eee)
  • configs: Improve fixture testing, update all config to improve compatibility  -  #204 (5fb18)
  • ts/quotes: Allow backtick literals, but forbid backtick import assertions  -  by @abrahamguo in #191 (59ff2)
    View changes on GitHub

v1.5.0-beta.0

03 Dec 15:18
Compare
Choose a tag to compare
v1.5.0-beta.0 Pre-release
Pre-release

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v1.4.1

23 Nov 11:20
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v1.4.0

18 Nov 16:48
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

  • ts/comma-dangle: Allow tailing comma in generic in TSX  -  by @antfu in #167 (6fb4a)
    View changes on GitHub

v1.3.3

17 Nov 23:28
Compare
Choose a tag to compare

   🚀 Features

  • ts/lines-around-comment: Add missing afterHashbangComment in schema, fix #75  -  by @antfu in #161 and #75 (39133)

   🐞 Bug Fixes

  • comma-dangle: Only add comma when it's in brackets, fix #158  -  by @antfu in #160 and #158 (b3460)
  • eslint-plugin: Rename config recommended-legacy to recommended-extends  -  by @antfu in #166 (303d6)
  • ts/padding-line-between-statements: Support cjs-import and cjs-export statement type  -  by @antfu in #162 (58aac)
    View changes on GitHub

v1.3.2

17 Nov 13:32
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v1.3.1

17 Nov 04:19
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v1.3.0

17 Nov 04:01
Compare
Choose a tag to compare

New Features

🛠️ Shared Configs

We introduced customizable shared configs that you can use out-of-box, learn more at https://eslint.style/guide/config-presets

Refactoring

🦾 TypeScript

We have migrated all rules to TypeScript, thanks a lot to @Namchee @alexzhang1030 @auvred @ntnyq @starknt @kecrily @Dhoni77 @coderwyd @albizures @aldillek for their contributions. This improves our long-term maintainability by a lot.

🧪 Code Coverage

We managed to reach 99.5% of code coverage: Codecov

This is mostly inherited from the original codebase. Thanks to the original maintainers of those rules to have such high-standard test cases.

View changes on GitHub

v1.2.0

13 Nov 16:01
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v1.1.0

11 Nov 12:10
Compare
Choose a tag to compare

This release includes migrating all rules from CJS to ESM for our codebase (the published dist is still on CJS for ESLint compatibility), #58. This allows us to have a more maintainable code base in the long run and improve the tree-shaking capability.

We also take this chance to clean up some unused utils inherited from the previous migration, resulting in a huge install-size improvement:

    View changes on GitHub