Releases: nishkohli96/eslint-config
v2.1.0 - Add NextJS Config, version docs, add example apps
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
andvite
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.
Released - 8 August, 2024
- Update docs
- Update eslint & @eslint/js in
@nish1896/eslint-config-test-v9
. - Re-enabled @stylistic/indent rule, since it is now indenting decorators properly in the code.
- Remove @eslint/compat since eslint-plugin-jsx-a11y now supports eslint v9.
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)
Major upgrade
- Migrate this project to a monorepo
- Official Docs 📖 for the config 🎉
eslint-flat-config
package compatible with eslint 9 and above- Modify 3 , disable 1 and remove 7 rules
- Add more test codes in
__tests__
folder
v2.0.2 - Fix keyword-spacing and comma-dangle
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
- Add the following rules in
js
config - Modify comma-dangle config.
Split JS and JSX Rules
Released - 10 Apr, 2024
- Split
js
andreact-jsx
rules - Turn off @typescript-eslint/ban-ts-comment
- Upgraded
@stylistic/eslint-plugin
,@typescript-eslint/eslint-plugin
,@typescript-eslint/parser
andeslint-plugin-react
dependencies.
Upgrade Dependencies, remove es2024 & no-mixed-spaces-and-tabs rule
- Upgraded
@stylistic/eslint-plugin
,@typescript-eslint/eslint-plugin
and@typescript-eslint/parser
dependencies. - Removed
es2024
key fromenv
. - Turn off no-mixed-spaces-and-tabs rule.
Less code-style errors, More productivity!
"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
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 |