Skip to content

Commit ade0ee3

Browse files
authored
Update dependencies (#4796)
* Re-enable eslint-plugin-import * Update Rollup and migrate to @rollup/plugin-terser at last
1 parent ec68e85 commit ade0ee3

14 files changed

Lines changed: 1730 additions & 375 deletions

File tree

.eslintrc.js

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ module.exports = {
99
'plugin:@typescript-eslint/recommended',
1010
'prettier',
1111
'plugin:prettier/recommended',
12-
// Disabled until security issues of eslint-plugin-import have been resolved
13-
// 'plugin:import/recommended',
14-
// 'plugin:import/typescript',
12+
'plugin:import/recommended',
13+
'plugin:import/typescript',
1514
'plugin:unicorn/recommended'
1615
],
1716
ignorePatterns: [
@@ -77,15 +76,14 @@ module.exports = {
7776
],
7877
'arrow-body-style': ['error', 'as-needed'],
7978
'dot-notation': 'error',
80-
// Disabled until security issues of eslint-plugin-import have been resolved
81-
// 'import/no-unresolved': [
82-
// 'error',
83-
// {
84-
// // 'fsevents' is ony available on macOS, and not installed on linux/windows
85-
// ignore: ['fsevents', 'help.md', 'is-reference', 'package.json', 'types']
86-
// }
87-
// ],
88-
// 'import/order': ['error', { alphabetize: { order: 'asc' } }],
79+
'import/no-unresolved': [
80+
'error',
81+
{
82+
// 'fsevents' is only available on macOS, and not installed on linux/windows
83+
ignore: ['fsevents', 'help.md', 'is-reference', 'package.json', 'types']
84+
}
85+
],
86+
'import/order': ['error', { alphabetize: { order: 'asc' } }],
8987
'no-constant-condition': ['error', { checkLoops: false }],
9088
'no-prototype-builtins': 'off',
9189
'object-shorthand': 'error',

0 commit comments

Comments
 (0)