Releases: Anuovec/eslint-config-sandokan
Releases · Anuovec/eslint-config-sandokan
0.22.0
- Updated
typescript-eslint
dependencies,eslint-plugin-jest
,eslint-plugin-jest
,eslint-plugin-jsx-a11y
,eslint-plugin-react
,eslint-plugin-sonarjs
,eslint-plugin-prettier
,eslint-plugin-testing-library
,eslint-plugin-unicorn
,prettier
,prettier-plugin-curly
,prettier-plugin-packagejson
,eslint-config-xo-typescript
,@tanstack/eslint-plugin-query
- Remove deprecated rule
@typescript/no-throw-literal
- Turned off
sonarjs/no-duplicate-string
for tests - Turned off
no-restricted-imports
in favour of typescript version - Fixed loading prettie plugins and duplicated configuration
- Added new rule
react/jsx-props-no-spread-multi
0.21.3
- Updated
typescript-eslint
dependencies,@tanstack/eslint-plugin-query
,eslint-plugin-sonarjs
,eslint-plugin-unicorn
,prettier
,eslint-plugin-testing-library
,eslint-config-prettier
,eslint-config-xo-typescript
,eslint-plugin-import
,eslint-plugin-jest
,eslint-plugin-no-date-parsing
,eslint-plugin-react
,eslint-plugin-react-hooks
,eslint-plugin-prettier
,prettier-plugin-packagejson
,eslint-plugin-regexp
,prettier-plugin-curly
,eslint-plugin-sort-destructure-keys
,eslint-plugin-promise
- Added
ref
andRef
to allowed abbreviations ineslint-plugin-unicorn
- Added new rule
jest/prefer-jest-mocked
- Updating naming convention to allow uppercase constants
0.20.0
- Updated
typescript-eslint
dependencies,@tanstack/eslint-plugin-query
,eslint-plugin-sonarjs
,eslint-plugin-unicorn
,prettier
,eslint-plugin-testing-library
,eslint-config-prettier
,eslint-config-xo-typescript
,eslint-plugin-import
,eslint-plugin-jest
,eslint-plugin-no-date-parsing
,eslint-plugin-react
,eslint-plugin-sonarjs
,eslint-plugin-prettier
,eslint-plugin-jsx-a11y
- Added
eslint-plugin-regexp
- Added
prettier-plugin-packagejson
- Added
reportUnusedDisableDirectives
- Added extendable
Prettier
andTypescript
configurations
0.19.0
- Added
eslint-plugin-sort-destructure-keys
- Added
prettier-plugin-curly
- Disallow importing from inside of features
- Updated
typescript-eslint
dependencies,@tanstack/eslint-plugin-query
,eslint-plugin-sonarjs
,eslint-plugin-unicorn
,prettier
,eslint-plugin-testing-library
,eslint-config-prettier
,eslint-config-xo-typescript
,eslint-plugin-import
,eslint-plugin-jest
,eslint-plugin-no-date-parsing
,eslint-plugin-react
,eslint-plugin-sonarjs
,eslint-plugin-prettier
- Temporarily disabled
eslint-plugin-no-date-parsing
- Disabled
@typescript-eslint/no-unused-vars
in favour of TypeScriptnoUnusedLocals
- Enabled
unicorn/consistent-function-scoping'
0.18.0
- Updated
typescript-eslint
dependencies,@tanstack/eslint-plugin-query
,eslint-plugin-sonarjs
,eslint-plugin-unicorn
,prettier
,eslint-plugin-testing-library
,eslint-config-prettier
,eslint-config-xo-typescript
- Changed
import/order
- Turned off
testing-library/no-await-sync-events
- Changed
@typescript-eslint/prefer-nullish-coalescing
ignoreMixedLogicalExpressions
to true
0.17.0
0.16.0
- Added
import/no-empty-named-blocks
,import/consistent-type-specifier-style
,import/newline-after-import
,jest/no-untyped-mock-factory
,jest/prefer-each
,prefer-mock-promise-shorthand
,jsx-a11y/no-aria-hidden-on-focusable
,jsx-a11y/prefer-tag-over-role
,promise/no-multiple-resolved
,react/no-object-type-as-default-prop
,require-atomic-updates
- Updated
typescript-eslint
dependencies,eslint-plugin-jsx-a11y
,eslint-plugin-promise
,eslint-plugin-react-hooks
,eslint-plugin-sonarjs
,eslint-plugin-unicorn
,prettier
,eslint-plugin-jest
,eslint-plugin-testing-library
,eslint-config-prettier
,eslint-config-
,eslint-plugin-import
,eslint-plugin-react
- Changed ExmaScript version to 2021
- Removed
no-new-symbol
, because it is reduntant tono-new-native-nonconstructor
- Updated
jest
version to 27 - Changed
react/hook-use-state
allowDestructuredState
to true - Added
eslint-plugin-no-date-parsing
back, now that is supports eslint 8+ - Added
types
folder toimport/order
groups - Added
eslint-config-xo-typescript
rules - Added
@tanstack/eslint-plugin-query
recommended config - Disallow import from
antd
in other places thanui
andApp.tsx
0.15.0
- Added
@typescript-eslint/no-redundant-type-constituents
,@typescript-eslint/no-useless-empty-export
,jest/prefer-comparison-matcher
,jest/prefer-equality-matcher
,jest/prefer-hooks-in-order
,react/hook-use-state
,react/destructuring-assignment
,no-unused-private-class-members
- Updated
typescript-eslint
dependencies,eslint-plugin-jsx-a11y
,eslint-plugin-promise
,eslint-plugin-react-hooks
,eslint-plugin-sonarjs
,eslint-plugin-unicorn
,prettier
,eslint-plugin-jest
,eslint-plugin-testing-library
,eslint-config-prettier
,eslint-config-xo
,eslint-plugin-import
,eslint-plugin-no-date-parsing
,eslint-plugin-prettier
- Changed
no-throw-literal
for@typescript-eslint/no-throw-literal
- Changed
space-before-blocks
for@typescript-eslint/space-before-blocks
- Extends
@typescript-eslint/strict
- Added
models
folder toimport/order
groups - Removed
eslint-plugin-no-date-parsing
due to no support for eslint 8+ - Disabled
@typescript-eslint/consistent-type-definitions
0.14.0
- Added
react/no-unused-class-component-methods
,react/no-arrow-function-lifecycle
,unicorn/template-indent
,unicorn/require-post-message-target-origin
,jest/prefer-expect-resolves
,jest/require-hook
- Updated
typescript-eslint
dependencies,eslint-plugin-jsx-a11y
,eslint-plugin-promise
,eslint-plugin-react-hooks
,eslint-plugin-sonarjs
,eslint-plugin-unicorn
,prettier
,eslint-plugin-jest
,eslint-plugin-testing-library
- Changed
@typescript-eslint/consistent-type-imports
tono-type-imports
to accommodate typescript 4.5 type imports
0.13.0
- Added
@typescript-eslint/no-non-null-asserted-nullish-coalescing
,@typescript-eslint/sort-type-union-intersection-members
,@typescript-eslint/no-invalid-void-type
- Config extended with
@typescript-eslint/recommended
and@typescript-eslint/recommended-requiring-type-checking
- Bumped ecmascript version to 10 (2019)
- Updated
typescript-eslint
dependencies,eslint-config-xo
,eslint-plugin-import