2024-12-18
@eslint/compat
is still necessary, see github/eslint-plugin-github#589
2024-12-18
- directly use return type of
config
helper as default export type
2024-12-18
- add types
- update dependencies
- drop
@eslint/compat
- drop dependency overrides
- only pack necessary files
2024-10-26
- move to flat config format
- drop
eslint-plugin-deprecation
- drop
eslint-plugin-sonarjs
- drop
eslint-plugin-yml
- drop
eslint-plugin-jsonc
2024-07-01
- this will be the last release supporting
eslint@8
- upgrade
@stylistic/eslint-plugin
- upgrade
eslint-plugin-deprecation
- upgrade
eslint-plugin-github
- upgrade
eslint-plugin-sonarjs
- upgrade
eslint-plugin-unicorn
- add rule
@typescript-eslint/consistent-type-assertions
- add
extraFileExtensions
to typescriptparserOptions
- run typescript rules on
vue
,svelte
andastro
files
2024-04-05
- upgrade
eslint-plugin-unicorn
2024-03-05
- revert
@typescript-eslint/consistent-type-imports
rule
2024-03-05
- remove
eslint-plugin-simple-import-sort
in favor of vs code's built-in functionality - remove
eslint-plugin-unused-imports
in favor of vs code's built-in functionality - tweak
@typescript-eslint/consistent-type-imports
rule
2024-03-05
- use
@typescript-eslint/strict-type-checked
config - add
eslint-plugin-simple-import-sort
- add
eslint-plugin-unused-imports
- add
eslint-plugin-yml
- upgrade
@typescript-eslint/eslint-plugin
- upgrade
@typescript-eslint/parser
- rewrite everything in typescript
2023-12-02
- add
eslint-plugin-github
dependency and rules - add
eslint-plugin-sonarjs
dependency and rules - remove
sweet/typescript
entry (always includets
)
2023-11-22
- remove
@stylistic/lines-between-class-members
rule - remove
@stylistic/object-property-newline
rule
2023-11-21
- add
@stylistic/eslint-plugin
for formatting rules (just can't get used toprettier
)
2023-11-21
- remove native
sort-*
again
2023-11-21
- remove
no-magic-numbers
again
2023-11-21
- include required files in npm package
2023-11-21
- use
prettier
for formatting internally - remove all deprecated formatting rules from config
- remove
eslint-plugin-perfectionist
again (was too disruptive, after all) - extend from
eslint:recommended
- add native
sort-*
rules
2023-11-19
- add
eslint-plugin-deprecation
dependency - add
eslint-plugin-perfectionist
dependency - add
logical-assignment-operators
rule - add
operator-assignment
rule
2023-11-09
- the
strict
ts config was a little too strict
2023-11-04
- require at least
node@18
- update
@typescript-eslint/eslint-plugin
dependency - update
@typescript-eslint/parser
dependency - update
eslint-plugin-unicorn
dependency - add
eslint-plugin-jsonc
dependency - loosen
eslint
peer dependency - loosen
typescript
peer dependency - directly export
typescript
config
2023-08-23
- require at least
node@16
- update
@typescript-eslint/eslint-plugin
dependency - update
@typescript-eslint/parser
dependency - update
eslint-plugin-unicorn
dependency - update
eslint
peer dependency - update
typescript
peer dependency - clean up rules
- separate out
typescript
config - introduce
typescript-typed
config
2023-03-19
- clean up dependencies
- clean up duplicate config props
- add type hints in config and rule sets
2023-03-18
- Switch to
plugin:unicorn/recommended
for most rules
2023-03-18
- Drop
eslint-plugin-compat
- Drop
eslint-plugin-import
- Drop
eslint-plugin-node
- Add
@typescript-eslint/eslint-plugin
dependency - Add
@typescript-eslint/parser
dependency - Add
typescript
peer dependency - Upgrade
eslint-plugin-unicorn
dependency - Upgrade
eslint
peer dependency - Update rules accordingly
- Drop
sweet/node
entry - Drop
sweet/web
entry
2022-08-30
- Add
prefer-logical-operator-over-ternary
rule
2022-01-11
- Change
no-multiple-empty-lines
rule
2022-01-09
- Update
engines
in package.json - Change
no-multiple-empty-lines
rule - Add
no-array-constructor
rule - Add
no-eval
rule - Add
no-new
rule - Add
no-new-object
rule - Add
no-new-wrappers
rule - Add
no-plusplus
rule - Add
no-proto
rule - Add
no-return-assign
rule - Add
no-trailing-spaces
rule - Add
no-useless-computed-key
rule - Add
operator-linebreak
rule - Add
padded-blocks
rule - Add
unicorn/no-await-expression-member
rule
2021-11-20
- Upgrade
eslint-plugin-compat
- Upgrade
eslint-plugin-import
- Upgrade
eslint-plugin-unicorn
- Add
unicorn/no-empty-file
rule - Add
unicorn/no-invalid-remove-event-listener
rule - Add
unicorn/no-useless-fallback-in-spread
rule - Add
unicorn/prefer-export-from
rule - Add
unicorn/template-indent
rule
2021-09-04
- Upgrade
eslint-plugin-compat
- Upgrade
eslint-plugin-import
- Upgrade
eslint-plugin-unicorn
- Add
unicorn/prefer-at
rule - Add
unicorn/prefer-prototype-methods
rule - Add
unicorn/prefer-array-flat-map
rule - Add
unicorn/prefer-switch
rule - Add
unicorn/no-nested-ternary
rule - Add
unicorn/no-useless-spread
rule - Add
unicorn/no-useless-undefined
rule - Add
unicorn/no-useless-length-check
rule - Add
unicorn/prefer-spread
rule - Add
unicorn/prefer-string-slice
rule
2021-03-26
- Upgrade
eslint-plugin-unicorn
- Add
unicorn/consistent-destructuring
rule - Add
unicorn/no-array-push-push
rule - Add
unicorn/prefer-array-flat
rule - Add
unicorn/prefer-array-index-of
rule
2021-01-05
- Update
eslint-plugin-compat
- Upgrade
eslint-plugin-unicorn
- Add
no-lonely-if
rule (error
) - Add
unicorn/no-lonely-if
rule (error
) - Add
unicorn/empty-brace-spaces
rule (error
) - Add
unicorn/prefer-array-some
rule (error
) - Add
unicorn/prefer-date-now
rule (error
) - Add
unicorn/prefer-default-parameters
rule (error
) - Refactor
eslin-plugin-unicorn
rule names
2020-12-01
- Recognize more config files
2020-11-30
- Add
unicorn/prefer-ternary
rule - Always include the file extension except for
js
files - Make
sweet/web
the default entry (now onlysweet
will do the trick)
2020-10-11
- Add
.eslintrc.js
to the array of configs inweb.js
2020-09-29
- Added:
unicorn/prefer-array-find
- Automatically detect common JS config files and lint them accordingly
2020-06-07
- Only enforce array item newlines to be consistent (
array-bracket-newline
) - Only enforce object prop newlines to be consistent (
object-curly-newline
)
2020-06-07
- Breaking Change: Disallow newlines in arrays with less than 3 items (
array-bracket-newline
) - Breaking Change: Disallow newlines in objects with less than 3 props (
object-curly-newline
) - Breaking Addition: Disallow spaces in template tag calls (
template-tag-spacing
) - Breaking Addition: Disallow existence-checking for the length of array-like objects (
unicorn/explicit-length-check
)
2020-06-04
- Upgrade to
[email protected]
- Reference dependencies more deliberately