Skip to content

Commit 376d778

Browse files
committed
feat: Multiple updates.
1 parent 33fe116 commit 376d778

Some content is hidden

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

66 files changed

+6135
-6647
lines changed

.babelrc

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

.babelrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
const env = require('./env-config')
2+
3+
module.exports = {
4+
presets: ['next/babel'],
5+
plugins: [['transform-define', env]],
6+
}

.editorconfig

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,27 @@
11
# EditorConfig helps developers define and maintain consistent
22
# coding styles between different editors and IDEs
33
# http://editorconfig.org/
4-
54
root = true
65

7-
# -- Personal preferences.
86
[*]
9-
indent_size = 2
10-
indent_style = space
11-
max_line_length = 80
12-
# -- Recommended preferences.
7+
# Recommended preferences.
138
charset = utf-8
149
end_of_line = lf
1510
insert_final_newline = true
1611
trim_trailing_whitespace = true
12+
# Personal preferences.
13+
indent_size = 2
14+
indent_style = space
1715

18-
# Markdown.
19-
[*.md]
20-
trim_trailing_whitespace = false
21-
22-
# Dot files & more.
16+
# JSON, YAML, Markdown, .babelrc, .eslintrc, .linstagedrc, and .remarkrc files.
2317
[*.{json,yml,md,babelrc,eslintrc,lintstagedrc,remarkrc}]
24-
indent_style = space
2518
indent_size = 2
19+
indent_style = space
20+
insert_final_newline = false
21+
max_line_length = 0
22+
trim_trailing_whitespace = false
2623

27-
# HTML
28-
[*.html]
29-
quote_type = double
24+
[.md]
25+
indent_size = 1
26+
indent_style = space
27+
trim_trailing_whitespace = true

.gitignore

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,30 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
13
# dependencies
24
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
310

4-
# build folder (production)
5-
# /dist
11+
# next.js
12+
/.next/
13+
# /out/
614

7-
# DLL folder (development)
8-
/dll
15+
# production
16+
/build
917

1018
# misc
1119
.DS_Store
12-
.
13-
/reports
1420

15-
# npmjs.com
21+
# debug
1622
npm-debug.log*
17-
18-
# yarnpkg.com
1923
yarn-debug.log*
2024
yarn-error.log*
21-
.yarnclean
25+
26+
# local env files
27+
.env.local
28+
.env.development.local
29+
.env.test.local
30+
.env.production.local

.lintstagedrc

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

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.5.0
1+
stable

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.5.0
1+
stable

.prettierignore

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

.prettierrc

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

.prettierrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
bracketSpacing: true,
3+
jsxBracketSameLine: true,
4+
printWidth: 80,
5+
semi: false,
6+
singleQuote: true,
7+
trailingComma: 'all',
8+
tabWidth: 2,
9+
useTabs: false,
10+
}

0 commit comments

Comments
 (0)