Skip to content

Releases: nishkohli96/eslint-config

v2.1.0 - Add NextJS Config, version docs, add example apps

20 Oct 17:45
a8d1764
Compare
Choose a tag to compare

2.1.0

Released - 20 October, 2024

  • Add next import for @nish1896/eslint-config.
  • Add Downloads Per Month badge for packages in README.
  • Versioning of the documentation 📖.
  • Add examples for react, next and vite applications.

Upgrade Dependencies

Dependency Version
@stylistic/eslint-plugin 2.6.1 to 2.9.0
@typescript-eslint/eslint-plugin 8.1.0 to 8.10.0
@typescript-eslint/parser 8.1.0 to 8.10.0
docusaurus 3.4.0 to 3.5.2
eslint and @eslint/js 9.8.0 to 9.13.0
eslint-plugin-jsx-a11y 6.9.0 to 6.10.0
eslint-plugin-react 7.35.0 to 7.37.1
eslint-plugin-react-hooks 4.6.2 to 5.0.0
globals 15.9.0 to 15.11.0
typescript-eslint 8.1.0 to 8.10.0

v2.0.5 - Update dependencies & docs.

08 Aug 19:35
c7969a2
Compare
Choose a tag to compare

Released - 8 August, 2024

Upgrade Dependencies

Dependency Version
@stylistic/eslint-plugin 2.1.0 to 2.6.1
@typescript-eslint/eslint-plugin 7.11.0 to 8.1.0
@typescript-eslint/parser 7.11.0 to 8.1.0
eslint 9.3.0 to 9.8.0
eslint-plugin-jsx-a11y 6.8.0 to 6.9.0
eslint-plugin-react 7.34.2 to 7.35.0
globals 15.2.0 to 15.9.0
typescript-eslint 7.11.0 to 8.1.0

v2.0.3 - Update Docs to prepare for release (#12)

02 Jun 19:47
dcc7849
Compare
Choose a tag to compare

Major upgrade

  1. Migrate this project to a monorepo
  2. Official Docs 📖 for the config 🎉
  3. eslint-flat-config package compatible with eslint 9 and above
  4. Modify 3 , disable 1 and remove 7 rules
  5. Add more test codes in __tests__ folder

v2.0.2 - Fix keyword-spacing and comma-dangle

11 Apr 18:40
385c702
Compare
Choose a tag to compare

Released - 12 Apr, 2024

Modify space-before-blocks and comma-dangle config.

Set keyword-spacing in space-before-blocks rule to keywords: 'always'. Previous config was resulting in no spacing something like,

if(){}
catch{ 

Remove comma dangle from arrays and objects, as traling commas were creating readability issues, in sequelize queries.

Bug fixes

11 Apr 07:35
5b3e305
Compare
Choose a tag to compare

Split JS and JSX Rules

09 Apr 22:13
c3d6037
Compare
Choose a tag to compare

Released - 10 Apr, 2024

  • Split js and react-jsx rules
  • Turn off @typescript-eslint/ban-ts-comment
  • Upgraded @stylistic/eslint-plugin, @typescript-eslint/eslint-plugin, @typescript-eslint/parser and eslint-plugin-react dependencies.

Upgrade Dependencies, remove es2024 & no-mixed-spaces-and-tabs rule

11 Feb 21:56
185e805
Compare
Choose a tag to compare
  • Upgraded @stylistic/eslint-plugin, @typescript-eslint/eslint-plugin and @typescript-eslint/parser dependencies.
  • Removed es2024 key from env.
  • Turn off no-mixed-spaces-and-tabs rule.

Less code-style errors, More productivity!

31 Jan 07:36
a7283c3
Compare
Choose a tag to compare

"More developer friendly, Yay! 😃"

Approx 90% of the rules used now warn instead of throwing an error, so you can focus more on writing the logic, and not on formatting the code! Only the rules that throw an error and some exceptional warn rules like 'no-debugger' must be fixed by the developer.

Also, added some cool new badges in README.md thanks to Shields.io!

v1.0.2

28 Jan 17:00
f0eecf8
Compare
Choose a tag to compare

While using this package during my development, I felt that the status of the rules listed below needed to be changed from error to warn as they would cause my app to crash, prompting me to alter my code to keep eslint happy (and make me irritated instead 😡). These rules would automatically fix the code on running the yarn lint script.

These rules are listed below -

Rule Name
comma-dangle
ban-ts-comment
eol-last
jsx-one-expression-per-line

The below rule is removed from the config file.

Rule Name Reason
multiline-comment-style the default setting starred-block read commented code as a comment itself, which made it difficult to uncomment the code