Skip to content

Commit 459726d

Browse files
committed
App
1 parent 6c337ba commit 459726d

26 files changed

+1612
-286
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
end_of_line = lf
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
.next
3+
/*.js

.eslintrc.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2020": true,
5+
"node": true,
6+
"jest": true
7+
},
8+
"extends": [
9+
"plugin:react/recommended",
10+
"standard",
11+
"plugin:@typescript-eslint/recommended",
12+
"prettier/@typescript-eslint",
13+
"prettier/standard",
14+
"prettier/react"
15+
],
16+
"parser": "@typescript-eslint/parser",
17+
"parserOptions": {
18+
"ecmaFeatures": {
19+
"jsx": true
20+
},
21+
"ecmaVersion": 12,
22+
"sourceType": "module"
23+
},
24+
"plugins": [
25+
"react",
26+
"@typescript-eslint",
27+
"prettier"
28+
],
29+
"rules": {
30+
"prettier/prettier": "error",
31+
"space-before-function-paren": "off",
32+
"react/prop-types": "off"
33+
}
34+
}

README.md

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

babel.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
presets: ["next/babel"],
3+
plugins: [
4+
["styled-components", { "ssr": true }],
5+
"inline-react-svg"
6+
]
7+
};

next-env.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/types/global" />
3+
/// <reference types="next-images" />

next.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
const withImages = require('next-images')
2+
3+
module.exports = withImages({
4+
esModule: true,
5+
})

package.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,28 @@
99
},
1010
"dependencies": {
1111
"next": "9.5.2",
12+
"next-images": "^1.4.1",
1213
"react": "16.13.1",
13-
"react-dom": "16.13.1"
14+
"react-dom": "16.13.1",
15+
"styled-components": "^5.1.1"
16+
},
17+
"devDependencies": {
18+
"@types/node": "^14.6.0",
19+
"@types/react": "^16.9.46",
20+
"@types/styled-components": "^5.1.2",
21+
"@typescript-eslint/eslint-plugin": "^3.9.1",
22+
"@typescript-eslint/parser": "^3.9.1",
23+
"babel-plugin-inline-react-svg": "^1.1.1",
24+
"eslint": "^7.7.0",
25+
"eslint-config-prettier": "^6.11.0",
26+
"eslint-config-standard": "^14.1.1",
27+
"eslint-plugin-import": "^2.22.0",
28+
"eslint-plugin-node": "^11.1.0",
29+
"eslint-plugin-prettier": "^3.1.4",
30+
"eslint-plugin-promise": "^4.2.1",
31+
"eslint-plugin-react": "^7.20.6",
32+
"eslint-plugin-standard": "^4.0.1",
33+
"prettier": "^2.1.0",
34+
"typescript": "^4.0.2"
1435
}
1536
}

pages/_app.js

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

pages/api/hello.js

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

0 commit comments

Comments
 (0)