Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

Commit 5332a8c

Browse files
committed
chore(app): added prettier and eslint
1 parent fc63f86 commit 5332a8c

File tree

6 files changed

+301
-11
lines changed

6 files changed

+301
-11
lines changed

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
.next
3+
out
4+
functions-dist

.eslintrc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es6": true,
6+
"node": true
7+
},
8+
"plugins": [
9+
"react",
10+
"react-hooks"
11+
],
12+
"extends": [
13+
"eslint:recommended",
14+
"prettier/@typescript-eslint",
15+
"plugin:prettier/recommended",
16+
"plugin:@typescript-eslint/recommended",
17+
"plugin:@typescript-eslint/recommended"
18+
],
19+
"parserOptions": {
20+
"sourceType": "module",
21+
"ecmaVersion": 2018
22+
},
23+
"settings": {
24+
"react": {
25+
"version": "detect"
26+
}
27+
},
28+
"rules": {
29+
"linebreak-style": [
30+
"error",
31+
"unix"
32+
],
33+
"react-hooks/rules-of-hooks": "error",
34+
"react-hooks/exhaustive-deps": "warn"
35+
}
36+
}

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
out
3+
.next
4+
functions-dist

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"semi": true,
4+
"trailingComma": "none"
5+
}

package-lock.json

Lines changed: 232 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)