Skip to content

Commit b37ede4

Browse files
separated demo from modular code to be published in this branch
1 parent c297c5c commit b37ede4

28 files changed

+277
-18316
lines changed

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# don't lint build or dist output
2+
dist
3+
build

.eslintrc.json

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": [
7+
"eslint:recommended",
8+
"plugin:react/recommended",
9+
"plugin:@typescript-eslint/recommended"
10+
],
11+
"parser": "@typescript-eslint/parser",
12+
"parserOptions": {
13+
"ecmaFeatures": {
14+
"jsx": true
15+
},
16+
"ecmaVersion": "latest",
17+
"sourceType": "module"
18+
},
19+
"plugins": [
20+
"react",
21+
"@typescript-eslint"
22+
],
23+
"rules": {
24+
"indent": ["warn", 2, {
25+
"ignoreComments": false,
26+
"SwitchCase": 1,
27+
"MemberExpression": 0,
28+
"flatTernaryExpressions": true
29+
}],
30+
"no-unused-vars": ["off", { "vars": "local" }],
31+
"no-case-declarations": "warn",
32+
"prefer-const": "warn",
33+
"quotes": ["warn", "single"],
34+
"react/prop-types": "off",
35+
"semi": ["warn", "always"],
36+
"space-infix-ops": "warn"
37+
}
38+
}

.prettierrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "none",
4+
"singleQuote": true,
5+
"printWidth": 80
6+
}

Example/assets/logo.png

-13.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)