mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
ui: upgrade to webpack5
This commit is contained in:
1 parent
8648929063
commit
a05125c6b0
134 files changed
+503
-457
No files matched your search
@@ -3,7 +3,7 @@ const path = require('path');
|
||||
module.exports = {
|
||||
root: true,
|
||||
parser: '@typescript-eslint/parser',
|
||||
plugins: ['@typescript-eslint', 'react'],
|
||||
plugins: ['@typescript-eslint', 'react', 'simple-import-sort'],
|
||||
env: {
|
||||
browser: true,
|
||||
es6: true,
|
||||
@@ -138,5 +138,16 @@ module.exports = {
|
||||
'jsx-a11y/anchor-is-valid': 'off',
|
||||
'jsx-a11y/click-events-have-key-events': 'off',
|
||||
'jsx-a11y/label-has-associated-control': 'off',
|
||||
|
||||
'simple-import-sort/imports': [
|
||||
'warn',
|
||||
{
|
||||
groups: [
|
||||
['^\\u0000'],
|
||||
['^(?!vj)(@?\\w.+)', '^vj\\/', '^', '^\\.'],
|
||||
],
|
||||
},
|
||||
],
|
||||
'simple-import-sort/exports': 'off',
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user