Feature/plate editor (#115)

* Add plate editor
This commit is contained in:
Daniel Lautzenheiser
2022-12-01 19:29:33 -05:00
committed by GitHub
parent f3c4337268
commit 147592a8b8
345 changed files with 12561 additions and 4346 deletions

View File

@ -55,6 +55,24 @@ module.exports = {
caughtErrorsIgnorePattern: '^_',
},
],
'@typescript-eslint/no-restricted-imports': [
'error',
{
patterns: [
{
group: ['@mui/*/*/*', '!@mui/material/test-utils/*'],
message: 'Do not import material imports as 3rd level imports',
allowTypeImports: true,
},
{
group: ['@mui/material', '!@mui/material/'],
message: 'Please import material imports as defaults or 2nd level imports',
allowTypeImports: true,
},
],
},
],
'import/prefer-default-export': 'error',
},
plugins: ['babel', '@emotion', 'cypress', 'unicorn', 'react-hooks'],
settings: {
@ -62,9 +80,7 @@ module.exports = {
version: 'detect',
},
'import/resolver': {
node: {
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
typescript: {}, // this loads <rootdir>/tsconfig.json to eslint
},
'import/core-modules': ['src'],
},