Skip to content

Commit

Permalink
Module-first setup (#9)
Browse files Browse the repository at this point in the history
* Module-first setup

* update CHANGELOG
  • Loading branch information
dai-shi authored May 21, 2024
1 parent 2748abc commit ca4885a
Show file tree
Hide file tree
Showing 60 changed files with 3,002 additions and 8,548 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

39 changes: 39 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/* eslint-env node */
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:import/recommended',
'plugin:import/typescript',
'plugin:react/recommended',
'plugin:react/jsx-runtime',
'plugin:react-hooks/recommended',
'plugin:jsx-a11y/recommended',
'prettier',
],
ignorePatterns: ['dist/'],
settings: {
'import/resolver': {
typescript: true,
},
react: { version: 'detect' },
},
rules: {
'import/no-unresolved': ['error', { ignore: ['jotai-immer'] }],
'@typescript-eslint/no-unused-vars': [
'error',
{
args: 'all',
argsIgnorePattern: '^_',
caughtErrors: 'all',
caughtErrorsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
varsIgnorePattern: '^_',
ignoreRestSiblings: true,
},
],
},
};
128 changes: 0 additions & 128 deletions .eslintrc.json

This file was deleted.

2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/pnpm-lock.yaml
/dist
8 changes: 0 additions & 8 deletions .prettierrc

This file was deleted.

9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,22 @@

## [Unreleased]

### Changed

- Module-first setup #9

## [0.3.0] - 2024-01-04

- Add useSetImmerAtom hook #4

## [0.2.0] - 2023-01-31

### Added

- Migrate to Jotai v2 API #1

## [0.1.0] - 2022-11-15

### Added

- Initial release
66 changes: 0 additions & 66 deletions __tests__/atomWithImmer.test.tsx

This file was deleted.

104 changes: 0 additions & 104 deletions __tests__/useImmerAtom.test.tsx

This file was deleted.

Loading

0 comments on commit ca4885a

Please sign in to comment.