Skip to content

Commit 86ba76b

Browse files
committed
chore: initial v3 commit
1 parent 8e8ac8a commit 86ba76b

File tree

288 files changed

+3817
-31861
lines changed

Some content is hidden

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

288 files changed

+3817
-31861
lines changed

.all-contributorsrc

-62
This file was deleted.

.eslintignore

-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
node_modules/
2-
plugins/
3-
scripts/
4-
app/
52

63
babel.config.js
74
commitlint.config.js
8-
jest.config.js
9-
.eslintrc.js

.eslintrc.js

+1-75
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,3 @@
11
module.exports = {
2-
root: true,
3-
parser: '@typescript-eslint/parser',
4-
parserOptions: {
5-
ecmaVersion: 2018,
6-
sourceType: 'module',
7-
ecmaFeatures: {
8-
jsx: true,
9-
},
10-
},
11-
settings: {
12-
react: {
13-
version: '18.2.0',
14-
},
15-
},
16-
plugins: ['sonarjs', 'functional', 'react', 'react-hooks', 'react-native'],
17-
extends: [
18-
'plugin:@typescript-eslint/recommended',
19-
'plugin:sonarjs/recommended',
20-
'plugin:functional/recommended',
21-
],
22-
rules: {
23-
'no-unused-vars': 0,
24-
'arrow-parens': [1, 'as-needed'],
25-
'@typescript-eslint/explicit-function-return-type': 0,
26-
'@typescript-eslint/explicit-module-boundary-types': 0,
27-
'@typescript-eslint/member-delimiter-style': [0, 'none'],
28-
'@typescript-eslint/ban-ts-ignore': 0,
29-
'@typescript-eslint/no-unused-vars': [
30-
2,
31-
{
32-
vars: 'all',
33-
args: 'after-used',
34-
ignoreRestSiblings: false,
35-
argsIgnorePattern: '^_',
36-
},
37-
],
38-
'@typescript-eslint/no-explicit-any': 1,
39-
'@typescript-eslint/no-namespace': [2, { allowDeclarations: true }],
40-
'functional/functional-parameters': 0,
41-
'functional/no-return-void': 0,
42-
'functional/no-conditional-statement': [2, { allowReturningBranches: true }],
43-
'functional/no-expression-statement': 0,
44-
'functional/no-mixed-type': 0,
45-
'functional/immutable-data': [
46-
2,
47-
{ ignoreAccessorPattern: ['**.current', '**.value', '**.contents'] },
48-
],
49-
'functional/prefer-readonly-type': 2,
50-
'sonarjs/no-duplicate-string': 0,
51-
'sonarjs/cognitive-complexity': [2, 30],
52-
'react/display-name': 0,
53-
'react/prop-types': 0,
54-
'react/jsx-boolean-value': [2, 'always'],
55-
'react/jsx-key': [2, { checkFragmentShorthand: true }],
56-
// 'react/jsx-no-constructed-context-values': 2,
57-
'react/jsx-no-useless-fragment': 2,
58-
'react/jsx-handler-names': [
59-
1,
60-
{
61-
eventHandlerPrefix: 'handle',
62-
eventHandlerPropPrefix: 'on',
63-
checkLocalVariables: true,
64-
checkInlineFunction: true,
65-
},
66-
],
67-
'react/function-component-definition': [2, { namedComponents: 'arrow-function' }],
68-
'react-native/no-unused-styles': 2,
69-
'react-native/split-platform-components': 2,
70-
'react-native/no-inline-styles': 2,
71-
'react-native/no-color-literals': 0,
72-
'react-native/no-raw-text': [2, { skip: ['T', 'Text', 'Heading', 'Badge'] }],
73-
'react-native/no-single-element-style-arrays': 2,
74-
'react-hooks/rules-of-hooks': 1,
75-
'react-hooks/exhaustive-deps': 0,
76-
},
2+
extends: [require.resolve('@grapp/eslint-config/react-native')],
773
}

.flowconfig

-11
This file was deleted.

.github/FUNDING.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
custom: ["https://www.buymeacoffee.com/utSC0k7"]
1+
github: mobily

.gitignore

+16-12
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
16
.DS_Store
7+
.buildlog/
8+
.history
9+
.svn/
210

11+
# Editors
12+
*.iml
13+
*.ipr
14+
*.iws
15+
.atom/
316
.idea/
4-
.settings
517
.vscode/
6-
node_modules/
7-
coverage/
8-
9-
*.log
10-
*.tsbuildinfo
1118

19+
# Bun
1220
dist/
13-
lib/
14-
15-
.merlin
16-
.bsb.lock
21+
node_modules/
22+
.changeset/
1723

18-
*.bs.js
19-
*.gen.tsx

.importsortrc

-7
This file was deleted.

.prettierrc.js

+1-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
module.exports = {
2-
parser: 'typescript',
3-
semi: false,
4-
singleQuote: true,
5-
trailingComma: 'all',
6-
printWidth: 100,
7-
arrowParens: 'avoid',
8-
plugins: ['prettier-plugin-import-sort'],
9-
}
1+
module.exports = require('@grapp/prettier-config')

__tests__/utils.tsx

-39
This file was deleted.

app/.bundle/config

-2
This file was deleted.

app/.gitignore

-63
This file was deleted.

app/.node-version

-1
This file was deleted.

app/.ruby-version

-1
This file was deleted.

app/.watchmanconfig

-1
This file was deleted.

0 commit comments

Comments
 (0)