Skip to content

Commit

Permalink
feat!: release new API
Browse files Browse the repository at this point in the history
* BREAKING CHANGES (@redux-eggs/core): change API and make `core` redux-agnostic
* BREAKING CHANGES (@redux-eggs/core): change Extension API, see docs
* BREAKING CHANGES (@redux-eggs/react): import `@redux-eggs/react` for concurrent mode
* BREAKING CHANGES (@redux-eggs/react): import `@redux-eggs/react/legacy` for legacy root
* BREAKING CHANGES (@redux-eggs/react): HOC `withEggs` not generic
* BREAKING CHANGES (@redux-eggs/react): type `WithEggsReturnType` not generic
* add React 18 support
* simplify test
* update examples
* update internal configs
* update `yarn`
* update deps
  • Loading branch information
fostyfost committed May 6, 2023
1 parent 3058356 commit 1e59659
Show file tree
Hide file tree
Showing 1,325 changed files with 22,072 additions and 20,591 deletions.
34 changes: 24 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,44 @@
// TODO eslint-plugin-import, unicorn

module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
plugins: ['@typescript-eslint', 'simple-import-sort', 'unicorn'],
plugins: ['@typescript-eslint', 'simple-import-sort', 'unicorn', 'prettier'],
rules: {
'unicorn/filename-case': 'error',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'no-console': 'off',
'linebreak-style': ['error', 'unix'],
'no-multiple-empty-lines': ['error', { max: 1, maxEOF: 0, maxBOF: 0 }],
strict: ['error', 'global'],
curly: 'warn',
quotes: ['error', 'single'],
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
quotes: ['error', 'single', { avoidEscape: true }],
'sort-imports': 'off',
'import/order': 'off',
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': [
'error',
{
enums: false,
typedefs: false,
ignoreTypeReferences: true,
},
],
'@typescript-eslint/consistent-type-imports': 'error',
'@typescript-eslint/no-unused-vars': 'error',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/ban-types': [
'error',
{
types: {
'{}': false,
},
},
],
'prettier/prettier': 'error',
},
settings: {
'import/resolver': {
Expand Down
13,747 changes: 8,768 additions & 4,979 deletions .pnp.cjs

Large diffs are not rendered by default.

Loading

0 comments on commit 1e59659

Please sign in to comment.