Skip to content

Commit 3223f17

Browse files
Merge pull request #35 from adaptui/refactoring-components
2 parents a5f281a + 25383c2 commit 3223f17

File tree

200 files changed

+19394
-179707
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

200 files changed

+19394
-179707
lines changed

.circleci/config.yml

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

.editorconfig

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

.eslintignore

Lines changed: 51 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,57 @@
1-
# don't ever lint node_modules
2-
node_modules
3-
# don't lint build output (make sure it's set to your correct build folder name)
4-
lib
5-
# don't lint nyc coverage output
6-
coverage
1+
# dotenv environment variable files
2+
.env*
3+
4+
# Testing
5+
/coverage
6+
7+
# Storybook Build
8+
storybook-static
9+
10+
# Next JS
11+
/.next/
12+
/out/
13+
14+
# Vercel folder
15+
.vercel
716

8-
# dont have lint ios and android folders
9-
ios
10-
android
17+
# Local Netlify
18+
.netlify
19+
.idea
20+
*.env
21+
22+
# Optional eslint cache
23+
.eslintcache
24+
25+
# Logs
26+
*.log*
27+
28+
# Dependency directories
29+
node_modules
30+
jspm_packages
1131

12-
# basic js files of react native
32+
# Mac files
33+
.DS_Store
1334

14-
.eslintrc.js
15-
babel.config.js
16-
jest.config.js
17-
metro.config.js
18-
tailwind.config.js
35+
# Optional npm cache directory
36+
.npm
1937

20-
example
38+
# Yarn 2
39+
.pnp/
40+
.pnp.*
41+
.yarn/*
42+
!.yarn/cache
43+
!.yarn/patches
44+
!.yarn/plugins
45+
!.yarn/releases
46+
!.yarn/sdks
47+
!.yarn/versions
48+
.yarn-integrity # Yarn Integrity file
2149

22-
scripts
50+
# Lock files
51+
package-lock.json
52+
yarn.lock
2353

24-
__tests__
54+
## library folder
55+
lib/
56+
src/theme/tailwind.config.js
57+
src/theme/colors.js

.eslintrc.js

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

.eslintrc.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"extends": ["@react-native-community"],
3+
"plugins": ["import", "simple-import-sort"],
4+
"rules": {
5+
"no-console": "off",
6+
"simple-import-sort/imports": [
7+
"error",
8+
{
9+
// https://github.com/lydell/eslint-plugin-simple-import-sort#custom-grouping
10+
"groups": [
11+
// Packages. `react-native` related packages come first.
12+
["^react", "^react-native", "^@?\\w"],
13+
// Parent imports. Put `..` last.
14+
["^\\.\\.(?!/?$)", "^\\.\\./?$"],
15+
// Other relative imports. Put same-folder imports and `.` last.
16+
["^\\./(?=.*/)(?!/?$)", "^\\.(?!/?$)", "^\\./?$"],
17+
// Style imports.
18+
["^.+\\.s?css$"]
19+
]
20+
}
21+
],
22+
"simple-import-sort/exports": "error",
23+
"import/first": "error",
24+
"import/newline-after-import": "error",
25+
"import/no-duplicates": "error",
26+
"react/jsx-uses-react": "off",
27+
"react/react-in-jsx-scope": "off",
28+
"quotes": [1, "double", "avoid-escape"],
29+
"importsNotUsedAsValues": "off"
30+
},
31+
"overrides": [
32+
{
33+
"files": ["*.js"],
34+
"parser": "@babel/eslint-parser"
35+
}
36+
]
37+
}

.expo-shared/README.md

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

.expo-shared/assets.json

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

.gitattributes

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

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,12 @@ project.xcworkspace
3131

3232
# Android/IJ
3333
#
34-
.idea
34+
.classpath
35+
.cxx
3536
.gradle
37+
.idea
38+
.project
39+
.settings
3640
local.properties
3741
android.iml
3842

.husky/.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

0 commit comments

Comments
 (0)