Skip to content

Releases: Anuovec/eslint-config-sandokan

0.22.0

19 Aug 17:42
Compare
Choose a tag to compare
  • 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

17 Jun 14:54
a944908
Compare
Choose a tag to compare
  • 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 and Ref to allowed abbreviations in eslint-plugin-unicorn
  • Added new rule jest/prefer-jest-mocked
  • Updating naming convention to allow uppercase constants

0.20.0

23 Nov 17:56
Compare
Choose a tag to compare
  • 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 and Typescript configurations

0.19.0

26 Aug 18:09
Compare
Choose a tag to compare
  • 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 TypeScript noUnusedLocals
  • Enabled unicorn/consistent-function-scoping'

0.18.0

21 Mar 20:33
Compare
Choose a tag to compare
  • 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

14 Feb 06:04
Compare
Choose a tag to compare
  • Updated @typescript-eslint/naming-convention rule
  • Updated @typescript-eslint/ban-types rule

0.16.0

29 Jan 14:26
Compare
Choose a tag to compare
  • 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 to no-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 to import/order groups
  • Added eslint-config-xo-typescript rules
  • Added @tanstack/eslint-plugin-query recommended config
  • Disallow import from antd in other places than ui and App.tsx

0.15.0

28 Jul 20:23
Compare
Choose a tag to compare
  • 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 to import/order groups
  • Removed eslint-plugin-no-date-parsing due to no support for eslint 8+
  • Disabled @typescript-eslint/consistent-type-definitions

0.14.0

11 Dec 10:18
Compare
Choose a tag to compare
  • 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 to no-type-imports to accommodate typescript 4.5 type imports

0.13.0

16 Nov 20:20
Compare
Choose a tag to compare
  • 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