Skip to content

Commit 02ab272

Browse files
committed
New updates- added config to stringify/JSON object format, and UI improvements.
1 parent 1de8579 commit 02ab272

File tree

28 files changed

+39085
-51571
lines changed

28 files changed

+39085
-51571
lines changed

ui/.eslintrc.js

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
module.exports = {
2-
env: {
3-
browser: true,
4-
es2021: true,
5-
},
6-
extends: [
7-
'plugin:react/recommended',
8-
'plugin:import/typescript',
9-
'airbnb',
10-
'airbnb-typescript',
11-
'prettier',
12-
],
13-
parser: '@typescript-eslint/parser',
14-
parserOptions: {
15-
ecmaFeatures: {
16-
jsx: true,
17-
},
18-
ecmaVersion: 12,
19-
sourceType: 'module',
20-
project: 'tsconfig.json',
21-
createDefaultProgram: true,
22-
tsconfigRootDir: __dirname,
23-
},
24-
plugins: ['import', 'react', 'react-hooks', '@typescript-eslint'],
25-
rules: {
26-
'operator-linebreak': [
27-
'error',
28-
'after',
29-
{
30-
overrides: {
31-
':': 'before',
32-
},
33-
},
34-
],
35-
'react/destructuring-assignment': ['warn'],
36-
'func-names': [0],
37-
'no-console': ['error', { allow: ['warn', 'error', 'info'] }],
38-
},
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
},
6+
extends: [
7+
"plugin:react/recommended",
8+
"plugin:import/typescript",
9+
"airbnb",
10+
"airbnb-typescript",
11+
"prettier",
12+
],
13+
parser: "@typescript-eslint/parser",
14+
parserOptions: {
15+
ecmaFeatures: {
16+
jsx: true,
17+
},
18+
ecmaVersion: 12,
19+
sourceType: "module",
20+
project: "tsconfig.json",
21+
createDefaultProgram: true,
22+
tsconfigRootDir: __dirname,
23+
},
24+
plugins: ["import", "react", "react-hooks", "@typescript-eslint"],
25+
rules: {
26+
"operator-linebreak": [
27+
"error",
28+
"after",
29+
{
30+
overrides: {
31+
":": "before",
32+
},
33+
},
34+
],
35+
"react/destructuring-assignment": ["warn"],
36+
"func-names": [0],
37+
"no-console": ["error", { allow: ["warn", "error", "info"] }],
38+
},
3939
};

ui/babel.config.js

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
module.exports = {
2-
presets: [
3-
[
4-
'@babel/preset-env',
5-
{
6-
targets: {
7-
node: 'current',
8-
},
9-
},
10-
// '@babel/preset-react',
11-
'@babel/preset-typescript',
12-
],
13-
],
14-
plugins: [
15-
[
16-
'@babel/plugin-transform-runtime',
17-
{
18-
regenerator: true,
19-
},
20-
],
21-
'@babel/plugin-proposal-class-properties',
22-
'@babel/plugin-proposal-export-default-from',
23-
'@babel/plugin-transform-modules-commonjs',
24-
['@babel/plugin-transform-react-jsx', { pragma: 'h' }],
25-
],
2+
presets: [
3+
[
4+
"@babel/preset-env",
5+
{
6+
targets: {
7+
node: "current",
8+
},
9+
},
10+
// '@babel/preset-react',
11+
"@babel/preset-typescript",
12+
],
13+
],
14+
plugins: [
15+
[
16+
"@babel/plugin-transform-runtime",
17+
{
18+
regenerator: true,
19+
},
20+
],
21+
"@babel/plugin-proposal-class-properties",
22+
"@babel/plugin-proposal-export-default-from",
23+
"@babel/plugin-transform-modules-commonjs",
24+
["@babel/plugin-transform-react-jsx", { pragma: "h" }],
25+
],
2626
};

0 commit comments

Comments
 (0)