PackageTrack

npm · #4142

@stylistic/eslint-plugin

5.10.0eslint-stylistic/eslint-stylistic

Release timeline

100 releases since 2023
202420252026

Releases

  1. 2.2.117 Jun 2024
    Release notes

    2.2.1 (2024-06-17)

    Bug Fixes

    • indent: correct indentation in chained methods calls with generics (#424) (4ba8b08)
    • indent: handle undefined node.decorators when tsParser is not configured (#422) (3d63054)
    Open source →
  2. 2.2.015 Jun 2024
    Release notes

    2.2.0 (2024-06-15)

    Features

    Bug Fixes

    • indent: correct indentation for PropertyDefinition with decorators (#416) (4b4d27c)
    • make plugin assignable to ESLint.Plugin (#418) (9887ead)
    • quotes: allow template literals to avoid escape sequences (#410) (1891c5f)
    Open source →
  3. 2.1.09 May 2024
    Release notes

    2.1.0 (2024-05-09)

    Features

    • js: port multiline-comment-style and line-comment-position (#389) (e3212fe)
    Open source →
  4. 2.0.08 May 2024
    Release notes

    2.0.0 (2024-05-08)

    This is a health update, where we bump @typescript-eslint/* from v6 to v7 and use ESLint v9 for testing and development. This would help us have a more maintainable repo in the long term.

    Inherited from them, we now require the same minimal node version of ^18.18.0 || ^20.9.0 || >=21.1.0. Other than that, there are no actual behavior changes between v1.8.1 and v2.0.0.

    If you already use @typescript-eslint v7 or ESLint v9, you can safely bump the version without any migrations needed.

    ⚠ BREAKING CHANGES

    • requires Node ^18.18.0 || ^20.9.0 || >=21.1.0, bump deps (#337)
    Open source →
  5. 1.8.17 May 2024
    Release notes

    1.8.1 (2024-05-07)

    Bug Fixes

    • jsx-one-expression-per-line: only one line break has not been processed (#384) (a297f84)

    Documentation

    Open source →
  6. 1.8.030 Apr 2024
    Release notes

    1.8.0 (2024-04-30)

    Features

    • jsx-function-call-newline: add jsx-function-call-newline rule (#376) (110aa4c)
    • jsx-one-expression-per-line: allow single line (#377) (f8825f2)
    • jsx-wrap-multilines: supports adding parentheses and line breaks for object properties (#372) (c72d043)

    Bug Fixes

    • jsx-indent: conflict between indent and jsx-indent (#368) (7313184)

    Documentation

    Open source →
  7. 1.7.215 Apr 2024
    Release notes

    1.7.2 (2024-04-14)

    Documentation

    Build Related

    • try using a single package for release-please (b3bf006)
    Open source →
  8. 1.7.014 Mar 2024
    Release notes

       🚀 Features

    • multiline-ternary: Add ignoreJSX option  -  by @haejiii in https://github.com/eslint-stylistic/eslint-stylistic/issues/280 <samp>(c6b14)</samp>
    • spaced-comment: Ignore typescript triple-slash directive  -  by @suiyun39 in https://github.com/eslint-stylistic/eslint-stylistic/issues/294 <samp>(9d1b2)</samp>
        View changes on GitHub
    Open source →
  9. 1.6.329 Feb 2024
    Release notes

       🐞 Bug Fixes

    • Type error on UnprefixedRuleOptions  -  by @JstnMcBrd in https://github.com/eslint-stylistic/eslint-stylistic/issues/284 <samp>(f7bc3)</samp>
        View changes on GitHub
    Open source →
  10. 1.6.215 Feb 2024
    Release notes

       🐞 Bug Fixes

    • Keep the plugin reference, close #281  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/281 <samp>(68b2c)</samp>
    • Add @types/eslint as dependencies explicitly, fix #276  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/276 <samp>(94097)</samp>
        View changes on GitHub
    Open source →
  11. 1.6.18 Feb 2024
    Release notes

       🐞 Bug Fixes

    • Revert espree version bump, fix #278  -  by @PCStefan and Stefan Padurariu in https://github.com/eslint-stylistic/eslint-stylistic/issues/278 <samp>(470bc)</samp>
        View changes on GitHub
    Open source →
  12. 1.6.05 Feb 2024
    Release notes

       🚀 Features

    • New ts/quote-props rule  -  by @so1ve and @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/275 <samp>(a56b7)</samp>
    • jsx/pascal-case: New rule port from eslint-plugin-react  -  by @SukkaW and @kecrily in https://github.com/eslint-stylistic/eslint-stylistic/issues/271 <samp>(7a5b9)</samp>

       🐞 Bug Fixes

    • indent-binary-ops: Should not increase indent with this, close #268  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/268 <samp>(5d2c1)</samp>
        View changes on GitHub
    Open source →
  13. 1.5.417 Jan 2024
    Release notes

       🐞 Bug Fixes

    • configs: Member-delimiter-style should use semi delimiters when semi is true, fix #266  -  by @IGx89 in https://github.com/eslint-stylistic/eslint-stylistic/issues/267 and https://github.com/eslint-stylistic/eslint-stylistic/issues/266 <samp>(7701a)</samp>
    • indent: Correctly identify opening brace on enum declaration  -  by @PindaPixel and Lucas Kruger in https://github.com/eslint-stylistic/eslint-stylistic/issues/261 <samp>(3c794)</samp>
    • padding-line-between-statements: Recognize ExportAllDeclaration nodes  -  by @fasttime in https://github.com/eslint-stylistic/eslint-stylistic/issues/257 <samp>(52f05)</samp>
    • ts/indent: Indentation of multiline type parameter instantiations  -  by @lo1tuma in https://github.com/eslint-stylistic/eslint-stylistic/issues/256 <samp>(0ef56)</samp>
        View changes on GitHub
    Open source →
  14. 1.5.32 Jan 2024
    Release notes

    No significant changes

        View changes on GitHub
    Open source →
  15. 1.5.111 Dec 2023
    Release notes

       🚀 Features

    • Replace graphemer with Intl.Segmenter  -  by @ota-meshi in https://github.com/eslint-stylistic/eslint-stylistic/issues/220 <samp>(e09f2)</samp>

       🐞 Bug Fixes

    • Graphemer CJS interop, close #216  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/216 <samp>(9ca6c)</samp>
    • js/function-paren-newline: Prevent newline error in type parameter  -  by @levchak0910 and @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/207 <samp>(c37f3)</samp>
    • ts/no-extra-parens: Cover more unnecessary parens case  -  by @kecrily and @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/217 <samp>(1a7fd)</samp>
    • ts/padding-line-between-statements: Add new function-overload statement type, close #190  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/213 and https://github.com/eslint-stylistic/eslint-stylistic/issues/190 <samp>(32296)</samp>
        View changes on GitHub
    Open source →
  16. 1.5.05 Dec 2023
    Release notes

       🚀 Features

    • Rules list on eslint.style gets search and category filters: <img width="768" alt="Screenshot 2023-12-05 at 12 34 57" src="https://github.com/eslint-stylistic/eslint-stylistic/assets/11247099/03054678-8ac8-4079-b658-32e0b0f68329">

    • Introduce @stylistic/eslint-plugin-plus, a package holding new rules introduced by ESLint Stylistic  -  https://github.com/eslint-stylistic/eslint-stylistic/issues/203 <samp>(02b73)</samp>

      • indent-binary-ops: New rule  -  https://github.com/eslint-stylistic/eslint-stylistic/issues/202 <samp>(97166)</samp>
      • type-generic-spacing: New rule  -  https://github.com/eslint-stylistic/eslint-stylistic/issues/200 <samp>(1a871)</samp>
      • type-named-tuple-spacing: New rule  -  https://github.com/eslint-stylistic/eslint-stylistic/issues/201 <samp>(8a66a)</samp>
      • They should improve the overall consistency of the formatting that covers some syntaxes that previously missed
    • configs: Enable extra rules in the configs factory  -  https://github.com/eslint-stylistic/eslint-stylistic/issues/205 <samp>(58f22)</samp>

    • js/no-multi-spaces: New includeTabs option  -  https://github.com/eslint-stylistic/eslint-stylistic/issues/195 <samp>(be417)</samp>

       🐞 Bug Fixes

    • Remove duplicate rule in all configs  -  by @abrahamguo in https://github.com/eslint-stylistic/eslint-stylistic/issues/199 <samp>(01eee)</samp>
    • configs: Improve fixture testing, update all config to improve compatibility  -  https://github.com/eslint-stylistic/eslint-stylistic/issues/204 <samp>(5fb18)</samp>
    • ts/quotes: Allow backtick literals, but forbid backtick import assertions  -  by @abrahamguo in https://github.com/eslint-stylistic/eslint-stylistic/issues/191 <samp>(59ff2)</samp>
        View changes on GitHub
    Open source →
  17. 1.5.0-beta.03 Dec 2023pre-release
    Release notes

       🚀 Features

    • Introduce @stylistic/eslint-plugin-plus  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/203 <samp>(02b73)</samp>
    • configs: Enable extra rules in the configs factory  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/205 <samp>(58f22)</samp>
    • indent-binary-ops: New rule  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/202 <samp>(97166)</samp>
    • js/no-multi-spaces: New includeTabs option  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/195 <samp>(be417)</samp>
    • type-generic-spacing: New rule  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/200 <samp>(1a871)</samp>
    • type-named-tuple-spacing: New rule  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/201 <samp>(8a66a)</samp>

       🐞 Bug Fixes

    • Remove duplicate rule in all configs  -  by @abrahamguo in https://github.com/eslint-stylistic/eslint-stylistic/issues/199 <samp>(01eee)</samp>
    • configs: Improve fixture testing, update all config to improve compatibility  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/204 <samp>(5fb18)</samp>
    • ts/quotes: Allow backtick literals, but forbid backtick import assertions  -  by @abrahamguo in https://github.com/eslint-stylistic/eslint-stylistic/issues/191 <samp>(59ff2)</samp>
        View changes on GitHub
    Open source →
  18. 1.4.123 Nov 2023
    Release notes

       🚀 Features

    • Add auto fix indicator on rule list  -  by @Namchee and @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/180 <samp>(b37a8)</samp>

       🐞 Bug Fixes

    • eslint-plugin: Dts path typo, close #181  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/181 <samp>(67a71)</samp>
        View changes on GitHub
    Open source →
  19. 1.4.018 Nov 2023
    Release notes

       🚀 Features

    • Introduce all-flat and all-extend config option  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/168 <samp>(ff2d8)</samp>

       🐞 Bug Fixes

    • ts/comma-dangle: Allow tailing comma in generic in TSX  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/167 <samp>(6fb4a)</samp>
        View changes on GitHub
    Open source →
  20. 1.3.317 Nov 2023
    Release notes

       🚀 Features

    • ts/lines-around-comment: Add missing afterHashbangComment in schema, fix #75  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/161 and https://github.com/eslint-stylistic/eslint-stylistic/issues/75 <samp>(39133)</samp>

       🐞 Bug Fixes

    • comma-dangle: Only add comma when it's in brackets, fix #158  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/160 and https://github.com/eslint-stylistic/eslint-stylistic/issues/158 <samp>(b3460)</samp>
    • eslint-plugin: Rename config recommended-legacy to recommended-extends  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/166 <samp>(303d6)</samp>
    • ts/padding-line-between-statements: Support cjs-import and cjs-export statement type  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/162 <samp>(58aac)</samp>
        View changes on GitHub
    Open source →
  21. 1.3.217 Nov 2023
    Release notes

       🐞 Bug Fixes

    • keyword-spacing: Fix regression, close #156  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/156 <samp>(4523c)</samp>
        View changes on GitHub
    Open source →
  22. 1.3.117 Nov 2023
    Release notes

       🐞 Bug Fixes

        View changes on GitHub
    Open source →
  23. 1.3.017 Nov 2023
    Release notes

    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: <a href="https://app.codecov.io/gh/eslint-stylistic/eslint-stylistic"><img alt="Codecov" src="https://img.shields.io/codecov/c/github/eslint-stylistic/eslint-stylistic?token=B85J0E2I7I&style=flat&labelColor=1B3C4A&color=32A9C3&precision=1"></a>

    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
    Open source →
  24. 1.2.013 Nov 2023
    Release notes

       🚀 Features

    • Update types generation script  -  by @antfu <samp>(0e368)</samp>
    • Partial migrate to ts  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/66 <samp>(a8803)</samp>
    • Provide disable-legacy config preset  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/69 <samp>(d7952)</samp>
    • Rename func-call-spacing to function-call-spacing, provide back alias  -  by @Namchee and @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/63 <samp>(95b60)</samp>

       🐞 Bug Fixes

    • Types strictness, enable typecheck in ci, close #64  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/65 and https://github.com/eslint-stylistic/eslint-stylistic/issues/64 <samp>(2e44c)</samp>
        View changes on GitHub
    Open source →
  25. 1.1.011 Nov 2023
    Release notes

    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
    Open source →
  26. 1.1.0-beta.011 Nov 2023pre-release
    Release notes

       🚀 Features

        View changes on GitHub
    Open source →
  27. 1.0.17 Nov 2023
    Release notes

       🚀 Features

    • Add doc comment for rule options  -  by @Plumbiu and @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/44 <samp>(ecfb1)</samp>

       🏎 Performance

    • No longer rely on jsx-ast-utils, reduce install size  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/49 <samp>(7c698)</samp>
        View changes on GitHub
    Open source →
  28. 1.0.02 Nov 2023
    Release notes

    This release does not include any changes.

    It indicates that the migration is complete, and you can safely migrate and use it for production from now.

    Refer to Project Progress to learn more about our plans onward.

    View changes on GitHub

    Open source →
  29. 0.1.229 Oct 2023
    Release notes

       🐞 Bug Fixes

    • Single schema dts generation  -  by @Shinigami92 in https://github.com/eslint-stylistic/eslint-stylistic/issues/29 <samp>(66bcc)</samp>
    • Update metadata, close #31  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/31 <samp>(a04b0)</samp>
    • ts: Add migrate missing no-extra-parens and no-extra-semi, close #34  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/34 <samp>(62846)</samp>
        View changes on GitHub
    Open source →
  30. 0.1.123 Oct 2023
    Release notes

       🐞 Bug Fixes

        View changes on GitHub
    Open source →
  31. 0.1.019 Oct 2023
    Release notes

    The release of v0.1.0 serves as a mark that we start to follow semver, as we have reached the agreement with ESLint and typescript-eslint team to move their rules to this project.

    Current state:

    • ESLint Core Rules should be finalized
    • TypeScript and JSX Rules might still change

    We will release v1.0 once ESLint makes the deprecation announcement. v1.0 would be 1:1 migration from the original repros. And starting from that, we will work on refactors and improvements in v1.1 or v2.0 deps on the affecting range.


       🚀 Features

    • eslint-plugin-jsx: Add jsx-self-closing-comp  -  by @zhiyuanzmj and @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/22 <samp>(93c5b)</samp>
        View changes on GitHub
    Open source →
  32. 0.0.1217 Oct 2023
    Release notes

       🚨 Breaking Changes

       🐞 Bug Fixes

    • Docs link  -  by @Plumbiu in https://github.com/eslint-stylistic/eslint-stylistic/issues/21 <samp>(b06bf)</samp>
        View changes on GitHub
    Open source →
  33. 0.0.1113 Oct 2023
    Release notes

       🐞 Bug Fixes

        View changes on GitHub
    Open source →
  34. 0.0.1013 Oct 2023
    Release notes

       🚀 Features

        View changes on GitHub
    Open source →
  35. 0.0.913 Oct 2023
    Release notes

       🚀 Features

       🐞 Bug Fixes

    • Update metadata  -  by @antfu <samp>(d5e95)</samp>
    • jsx: Remove deprecated jsx-space-before-closing, close #18  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/18 <samp>(c6961)</samp>
        View changes on GitHub
    Open source →
  36. 0.0.89 Oct 2023
    Release notes

    No significant changes

        View changes on GitHub
    Open source →
  37. 0.0.79 Oct 2023
    Release notes

       🚀 Features

    • Migrate jsx rules  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/17 <samp>(ecca1)</samp>
    • Support eslint-define-config rules  -  by @Shinigami92 and @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/14 <samp>(9d5ef)</samp>
        View changes on GitHub
    Open source →
  38. 0.0.630 Sept 2023
    Release notes

       🚨 Breaking Changes

       🚀 Features

    • Migrate more rules https://github.com/eslint/eslint/issues/17522#issuecomment-1740118084  -  by @antfu <samp>(ca842)</samp>
        View changes on GitHub
    Open source →
  39. 0.0.525 Sept 2023
    Release notes

       🚀 Features

    • Introduce @stylistic/eslint-plugin  -  by @antfu in https://github.com/eslint-stylistic/eslint-stylistic/issues/11 <samp>(d91f2)</samp>
    • Add quotes, semi and comma-dangle rules  -  by @antfu <samp>(55ebf)</samp>
        View changes on GitHub
    Open source →
  40. 0.0.425 Sept 2023
    Release notes

       🐞 Bug Fixes

        View changes on GitHub
    Open source →