Skip to content

Commit d376dfe

Browse files
feat: Boiler plate setup
0 parents  commit d376dfe

File tree

9 files changed

+9263
-0
lines changed

9 files changed

+9263
-0
lines changed

.eslintrc.js

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
module.exports = {
2+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
3+
parser: '@typescript-eslint/parser',
4+
parserOptions: {
5+
ecmaVersion: 'latest',
6+
sourceType: 'module'
7+
},
8+
plugins: ['@typescript-eslint'],
9+
rules: {
10+
'no-plusplus': 'off',
11+
'comma-dangle': ['off'],
12+
'import/no-extraneous-dependencies': 'off',
13+
'import/extensions': 'off',
14+
'import/no-unresolved': 'off',
15+
'@typescript-eslint/no-unused-vars': [
16+
'error',
17+
{
18+
ignoreRestSiblings: true,
19+
vars: 'local'
20+
}
21+
],
22+
'no-shadow': 'off',
23+
'implicit-arrow-linebreak': 'off',
24+
'space-before-blocks': 'error',
25+
'function-paren-newline': 'off',
26+
'padding-line-between-statements': [
27+
'error',
28+
{
29+
blankLine: 'always',
30+
prev: '*',
31+
next: 'return'
32+
},
33+
{
34+
blankLine: 'always',
35+
prev: ['const', 'let', 'var'],
36+
next: '*'
37+
},
38+
{
39+
blankLine: 'any',
40+
prev: ['const', 'let', 'var'],
41+
next: ['const', 'let', 'var']
42+
}
43+
],
44+
'object-curly-newline': 'off',
45+
'func-call-spacing': 'off',
46+
'operator-linebreak': 'off',
47+
'import/prefer-default-export': 'off',
48+
'no-spaced-func': 'off',
49+
'@typescript-eslint/consistent-type-imports': 'error',
50+
indent: ["error", 2, { "SwitchCase": 1}],
51+
curly: ['error', 'multi', 'consistent'],
52+
'no-confusing-arrow': 'off',
53+
'nonblock-statement-body-position': 'off',
54+
'@typescript-eslint/no-explicit-any': 'error'
55+
}
56+
};

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
dist/

.husky/pre-commit

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

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 KeyValue Software Systems
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Siren React Native Inbox
2+

0 commit comments

Comments
 (0)