Skip to content

Commit 340e20a

Browse files
committed
initial commit
1 parent b73fba8 commit 340e20a

16 files changed

+9564
-0
lines changed

.babelrc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"presets": [
3+
"@babel/preset-env",
4+
[
5+
"@babel/preset-react",
6+
{
7+
"runtime": "automatic"
8+
}
9+
]
10+
]
11+
}

.eslintrc.js

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
module.exports = {
2+
parser: '@babel/eslint-parser',
3+
parserOptions: {
4+
ecmaVersion: 2020,
5+
sourceType: 'module',
6+
},
7+
extends: [
8+
'plugin:react/recommended',
9+
'plugin:react-hooks/recommended',
10+
'plugin:import/errors',
11+
'plugin:import/warnings',
12+
'plugin:jsx-a11y/recommended',
13+
'prettier',
14+
'plugin:prettier/recommended',
15+
],
16+
rules: {
17+
'no-unused-vars': 'off',
18+
'react/prop-types': 'off',
19+
'react/jsx-uses-react': 'off',
20+
'react/react-in-jsx-scope': 'off',
21+
},
22+
settings: {
23+
react: {
24+
version: 'detect',
25+
},
26+
},
27+
}

.gitignore

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# production
12+
/build
13+
14+
# misc
15+
.DS_Store
16+
.env.local
17+
.env.development.local
18+
.env.test.local
19+
.env.production.local
20+
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*

.prettierrc.js

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module.exports = {
2+
semi: false,
3+
trailingComma: 'es5',
4+
singleQuote: true,
5+
jsxSingleQuote: false,
6+
printWidth: 80,
7+
tabWidth: 2,
8+
endOfLine: 'auto',
9+
}

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"cSpell.words": [
3+
"nimedix"
4+
]
5+
}

index.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import React from "react";
2+
import ReactDOM from "react-dom/client";
3+
import App from "./src/App";
4+
5+
const root = ReactDOM.createRoot(document.getElementById("root"));
6+
7+
root.render(<App />);

0 commit comments

Comments
 (0)