Skip to content

Commit cd112f1

Browse files
committed
refactor: rewrite as a pure tsc lib
1 parent 0f5039d commit cd112f1

20 files changed

Lines changed: 8621 additions & 22258 deletions

‎.eslintignore‎

Lines changed: 0 additions & 24 deletions
This file was deleted.

‎.eslintrc.json‎

Lines changed: 0 additions & 18 deletions
This file was deleted.

‎.gitattributes‎

Lines changed: 0 additions & 3 deletions
This file was deleted.

‎.gitignore‎

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -9,56 +9,12 @@
99
.vscode/
1010
jsconfig.json
1111

12-
# Xcode
13-
#
14-
build/
15-
*.pbxuser
16-
!default.pbxuser
17-
*.mode1v3
18-
!default.mode1v3
19-
*.mode2v3
20-
!default.mode2v3
21-
*.perspectivev3
22-
!default.perspectivev3
23-
xcuserdata
24-
*.xccheckout
25-
*.moved-aside
26-
DerivedData
27-
*.hmap
28-
*.ipa
29-
*.xcuserstate
30-
project.xcworkspace
31-
32-
# Android/IJ
33-
#
34-
.classpath
35-
.cxx
36-
.gradle
37-
.idea
38-
.project
39-
.settings
40-
local.properties
41-
android.iml
42-
43-
# Cocoapods
44-
#
45-
example/ios/Pods
46-
47-
# Ruby
48-
example/vendor/
49-
5012
# node.js
51-
#
5213
node_modules/
5314
npm-debug.log
5415
yarn-debug.log
5516
yarn-error.log
56-
57-
# BUCK
58-
buck-out/
59-
\.buckd/
60-
android/app/libs
61-
android/keystores/debug.keystore
17+
lib/
6218

6319
# Yarn
6420
.yarn/*
@@ -67,16 +23,3 @@ android/keystores/debug.keystore
6723
!.yarn/releases
6824
!.yarn/sdks
6925
!.yarn/versions
70-
71-
# Expo
72-
.expo/
73-
74-
# Turborepo
75-
.turbo/
76-
77-
# generated by bob
78-
lib/
79-
80-
# React Native Codegen
81-
ios/generated
82-
android/generated

‎.nvmrc‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎.watchmanconfig‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎LICENSE.md‎

Lines changed: 0 additions & 9 deletions
This file was deleted.

‎babel.config.js‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎bob.config.js‎

Lines changed: 0 additions & 25 deletions
This file was deleted.

‎eslint.config.js‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import tseslint from "@typescript-eslint/eslint-plugin";
2+
import tsparser from "@typescript-eslint/parser";
3+
import prettier from "eslint-plugin-prettier";
4+
import eslintConfigPrettier from "eslint-config-prettier";
5+
6+
export default [
7+
{
8+
files: ["**/*.ts"],
9+
languageOptions: {
10+
parser: tsparser,
11+
},
12+
plugins: {
13+
"@typescript-eslint": tseslint,
14+
prettier,
15+
},
16+
rules: {
17+
...tseslint.configs.recommended.rules,
18+
...eslintConfigPrettier.rules,
19+
"prettier/prettier": "error",
20+
},
21+
},
22+
{
23+
ignores: ["lib/**", "node_modules/**"],
24+
},
25+
];

0 commit comments

Comments
 (0)