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

Commit

Permalink
Added Roll Up Back for Bundling, still using latest webpack for compi…
Browse files Browse the repository at this point in the history
…lation
  • Loading branch information
ralph-dev committed Nov 30, 2021
1 parent 1723a29 commit 3cff25e
Show file tree
Hide file tree
Showing 6 changed files with 4,900 additions and 1,096 deletions.
128 changes: 64 additions & 64 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,70 +1,70 @@
const {
aliases
aliases
} = require('./package.json');

module.exports = {
env: {
browser: true,
node: true,
es6: true,
jest: true
},
extends: ["airbnb", "plugin:@typescript-eslint/recommended", "plugin:import/errors", "plugin:import/warnings", "plugin:import/typescript", "prettier", "plugin:storybook/recommended"],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parser: '@typescript-eslint/parser',
settings: {
'import/resolver': {
alias: {
map: Object.entries(aliases).map(item => {
item[1] = `./${item[1]}`;
return item;
}),
extensions: ['.ts', '.tsx', '.json', '.js']
}
}
},
parserOptions: {
ecmaFeatures: {
jsx: true
env: {
browser: true,
node: true,
es6: true,
jest: true
},
extends: ["airbnb", "plugin:@typescript-eslint/recommended", "plugin:import/errors", "plugin:import/warnings", "plugin:import/typescript", "prettier", "plugin:storybook/recommended"],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parser: '@typescript-eslint/parser',
settings: {
'import/resolver': {
alias: {
map: Object.entries(aliases).map(item => {
item[1] = `./${item[1]}`;
return item;
}),
extensions: ['.ts', '.tsx', '.json', '.js']
}
}
},
ecmaVersion: 2018,
sourceType: 'module'
},
plugins: ['@typescript-eslint', 'react'],
rules: {
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-shadow': 'error',
'@typescript-eslint/ban-types': ['off'],
'react/jsx-filename-extension': ['error', {
extensions: ['.tsx']
}],
'react/jsx-indent-props': ['error', 4],
'react/jsx-indent': ['error', 4],
'react/jsx-props-no-spreading': ['off'],
'react/prop-types': 'off',
'import/namespace': ['error', {
allowComputed: true
}],
'import/prefer-default-export': 'off',
'import/extensions': 'off',
'import/no-extraneous-dependencies': 'off',
camelcase: 'off',
'no-shadow': 'off',
'no-use-before-define': [0],
'array-callback-return': 'off',
'no-underscore-dangle': 'off',
'no-param-reassign': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'react/destructuring-assignment': 'off',
'no-console': 'off',
'import/no-named-as-default': 'off',
'no-alert': 'off',
indent: ['error', 4],
'react/require-default-props': 'off'
}
parserOptions: {
ecmaFeatures: {
jsx: true
},
ecmaVersion: 2018,
sourceType: 'module'
},
plugins: ['@typescript-eslint', 'react'],
rules: {
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-shadow': 'error',
'@typescript-eslint/ban-types': ['off'],
'react/jsx-filename-extension': ['error', {
extensions: ['.tsx']
}],
'react/jsx-indent-props': ['error', 4],
'react/jsx-indent': ['error', 4],
'react/jsx-props-no-spreading': ['off'],
'react/prop-types': 'off',
'import/namespace': ['error', {
allowComputed: true
}],
'import/prefer-default-export': 'off',
'import/extensions': 'off',
'import/no-extraneous-dependencies': 'off',
camelcase: 'off',
'no-shadow': 'off',
'no-use-before-define': [0],
'array-callback-return': 'off',
'no-underscore-dangle': 'off',
'no-param-reassign': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'react/destructuring-assignment': 'off',
'no-console': 'off',
'import/no-named-as-default': 'off',
'no-alert': 'off',
indent: ['error', 4],
'react/require-default-props': 'off'
}
};
Loading

0 comments on commit 3cff25e

Please sign in to comment.