Skip to content
This repository was archived by the owner on Feb 23, 2022. It is now read-only.

Commit 3cff25e

Browse files
committed
Added Roll Up Back for Bundling, still using latest webpack for compilation
1 parent 1723a29 commit 3cff25e

6 files changed

+4900
-1096
lines changed

.eslintrc.js

+64-64
Original file line numberDiff line numberDiff line change
@@ -1,70 +1,70 @@
11
const {
2-
aliases
2+
aliases
33
} = require('./package.json');
44

55
module.exports = {
6-
env: {
7-
browser: true,
8-
node: true,
9-
es6: true,
10-
jest: true
11-
},
12-
extends: ["airbnb", "plugin:@typescript-eslint/recommended", "plugin:import/errors", "plugin:import/warnings", "plugin:import/typescript", "prettier", "plugin:storybook/recommended"],
13-
globals: {
14-
Atomics: 'readonly',
15-
SharedArrayBuffer: 'readonly'
16-
},
17-
parser: '@typescript-eslint/parser',
18-
settings: {
19-
'import/resolver': {
20-
alias: {
21-
map: Object.entries(aliases).map(item => {
22-
item[1] = `./${item[1]}`;
23-
return item;
24-
}),
25-
extensions: ['.ts', '.tsx', '.json', '.js']
26-
}
27-
}
28-
},
29-
parserOptions: {
30-
ecmaFeatures: {
31-
jsx: true
6+
env: {
7+
browser: true,
8+
node: true,
9+
es6: true,
10+
jest: true
11+
},
12+
extends: ["airbnb", "plugin:@typescript-eslint/recommended", "plugin:import/errors", "plugin:import/warnings", "plugin:import/typescript", "prettier", "plugin:storybook/recommended"],
13+
globals: {
14+
Atomics: 'readonly',
15+
SharedArrayBuffer: 'readonly'
16+
},
17+
parser: '@typescript-eslint/parser',
18+
settings: {
19+
'import/resolver': {
20+
alias: {
21+
map: Object.entries(aliases).map(item => {
22+
item[1] = `./${item[1]}`;
23+
return item;
24+
}),
25+
extensions: ['.ts', '.tsx', '.json', '.js']
26+
}
27+
}
3228
},
33-
ecmaVersion: 2018,
34-
sourceType: 'module'
35-
},
36-
plugins: ['@typescript-eslint', 'react'],
37-
rules: {
38-
'@typescript-eslint/no-empty-interface': 'off',
39-
'@typescript-eslint/no-var-requires': 'off',
40-
'@typescript-eslint/no-shadow': 'error',
41-
'@typescript-eslint/ban-types': ['off'],
42-
'react/jsx-filename-extension': ['error', {
43-
extensions: ['.tsx']
44-
}],
45-
'react/jsx-indent-props': ['error', 4],
46-
'react/jsx-indent': ['error', 4],
47-
'react/jsx-props-no-spreading': ['off'],
48-
'react/prop-types': 'off',
49-
'import/namespace': ['error', {
50-
allowComputed: true
51-
}],
52-
'import/prefer-default-export': 'off',
53-
'import/extensions': 'off',
54-
'import/no-extraneous-dependencies': 'off',
55-
camelcase: 'off',
56-
'no-shadow': 'off',
57-
'no-use-before-define': [0],
58-
'array-callback-return': 'off',
59-
'no-underscore-dangle': 'off',
60-
'no-param-reassign': 'off',
61-
'@typescript-eslint/ban-ts-comment': 'off',
62-
'@typescript-eslint/no-explicit-any': 'off',
63-
'react/destructuring-assignment': 'off',
64-
'no-console': 'off',
65-
'import/no-named-as-default': 'off',
66-
'no-alert': 'off',
67-
indent: ['error', 4],
68-
'react/require-default-props': 'off'
69-
}
29+
parserOptions: {
30+
ecmaFeatures: {
31+
jsx: true
32+
},
33+
ecmaVersion: 2018,
34+
sourceType: 'module'
35+
},
36+
plugins: ['@typescript-eslint', 'react'],
37+
rules: {
38+
'@typescript-eslint/no-empty-interface': 'off',
39+
'@typescript-eslint/no-var-requires': 'off',
40+
'@typescript-eslint/no-shadow': 'error',
41+
'@typescript-eslint/ban-types': ['off'],
42+
'react/jsx-filename-extension': ['error', {
43+
extensions: ['.tsx']
44+
}],
45+
'react/jsx-indent-props': ['error', 4],
46+
'react/jsx-indent': ['error', 4],
47+
'react/jsx-props-no-spreading': ['off'],
48+
'react/prop-types': 'off',
49+
'import/namespace': ['error', {
50+
allowComputed: true
51+
}],
52+
'import/prefer-default-export': 'off',
53+
'import/extensions': 'off',
54+
'import/no-extraneous-dependencies': 'off',
55+
camelcase: 'off',
56+
'no-shadow': 'off',
57+
'no-use-before-define': [0],
58+
'array-callback-return': 'off',
59+
'no-underscore-dangle': 'off',
60+
'no-param-reassign': 'off',
61+
'@typescript-eslint/ban-ts-comment': 'off',
62+
'@typescript-eslint/no-explicit-any': 'off',
63+
'react/destructuring-assignment': 'off',
64+
'no-console': 'off',
65+
'import/no-named-as-default': 'off',
66+
'no-alert': 'off',
67+
indent: ['error', 4],
68+
'react/require-default-props': 'off'
69+
}
7070
};

0 commit comments

Comments
 (0)