Skip to content

Commit 4280345

Browse files
committed
Module-first setup
1 parent 77aa628 commit 4280345

38 files changed

+3232
-8865
lines changed

.codesandbox/ci.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"buildCommand": "compile",
33
"sandboxes": ["new", "react-typescript-react-ts"],
4-
"node": "14"
4+
"node": "18"
55
}

.eslintignore

-2
This file was deleted.

.eslintrc.cjs

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/* eslint-env node */
2+
module.exports = {
3+
root: true,
4+
parser: '@typescript-eslint/parser',
5+
plugins: ['@typescript-eslint'],
6+
extends: [
7+
'eslint:recommended',
8+
'plugin:@typescript-eslint/recommended',
9+
'plugin:import/recommended',
10+
'plugin:import/typescript',
11+
'plugin:react/recommended',
12+
'plugin:react/jsx-runtime',
13+
'plugin:react-hooks/recommended',
14+
'plugin:jsx-a11y/recommended',
15+
'prettier',
16+
],
17+
ignorePatterns: ['dist/'],
18+
settings: {
19+
'import/resolver': {
20+
typescript: true,
21+
},
22+
react: { version: 'detect' },
23+
},
24+
rules: {
25+
'import/no-unresolved': ['error', { ignore: ['jotai-valtio'] }],
26+
'@typescript-eslint/no-unused-vars': [
27+
'error',
28+
{
29+
args: 'all',
30+
argsIgnorePattern: '^_',
31+
caughtErrors: 'all',
32+
caughtErrorsIgnorePattern: '^_',
33+
destructuredArrayIgnorePattern: '^_',
34+
varsIgnorePattern: '^_',
35+
ignoreRestSiblings: true,
36+
},
37+
],
38+
},
39+
};

.eslintrc.json

-128
This file was deleted.

.prettierignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/pnpm-lock.yaml
2+
/dist

.prettierrc

-8
This file was deleted.

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,25 @@
33
## [Unreleased]
44

55
## [0.4.0] - 2023-10-07
6+
67
### Added
8+
79
- feat: add api for returning a valtio proxyState from a jotai atom derived from another atom value #5
810

911
## [0.3.0] - 2023-03-04
12+
1013
### Added
14+
1115
- feat: mark internal atoms as private
1216

1317
## [0.2.0] - 2023-01-31
18+
1419
### Added
20+
1521
- Migrate to Jotai v2 API #1
1622

1723
## [0.1.0] - 2022-11-15
24+
1825
### Added
26+
1927
- Initial release

0 commit comments

Comments
 (0)