Skip to content

Update deps #3854

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 15 additions & 5 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ module.exports = {
'node/prefer-promises/fs': 'off',

//////////////////////////////////////////////////////////////////////////////
// `eslint-plugin-import` rule list based on `v2.26.x`
// `eslint-plugin-import` rule list based on `v2.27.x`
//////////////////////////////////////////////////////////////////////////////

// Static analysis
Expand Down Expand Up @@ -114,6 +114,7 @@ module.exports = {
'import/no-extraneous-dependencies': ['error', { devDependencies: false }],
'import/no-mutable-exports': 'error',
'import/no-unused-modules': 'error',
'import/no-empty-named-blocks': 'error',

// Module systems
// https://github.com/benmosher/eslint-plugin-import#module-systems
Expand All @@ -125,6 +126,7 @@ module.exports = {

// Style guide
// https://github.com/benmosher/eslint-plugin-import#style-guide
'import/consistent-type-specifier-style': 'error',
'import/first': 'error',
'import/exports-last': 'off',
'import/no-duplicates': 'error',
Expand All @@ -146,7 +148,7 @@ module.exports = {
'import/dynamic-import-chunkname': 'off',

//////////////////////////////////////////////////////////////////////////////
// `eslint-plugin-simple-import-sort` rule list based on `v8.0.x`
// `eslint-plugin-simple-import-sort` rule list based on `v10.0.x`
// https://github.com/lydell/eslint-plugin-simple-import-sort
//////////////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -186,7 +188,7 @@ module.exports = {
'simple-import-sort/exports': 'off', // TODO: error

//////////////////////////////////////////////////////////////////////////////
// ESLint builtin rules list based on `v8.27.x`
// ESLint builtin rules list based on `v8.34.x`
//////////////////////////////////////////////////////////////////////////////

// Possible Errors
Expand Down Expand Up @@ -344,7 +346,10 @@ module.exports = {
'no-proto': 'error',
'no-redeclare': 'error',
'no-regex-spaces': 'error',
'no-restricted-exports': 'off',
'no-restricted-exports': [
'error',
{ restrictDefaultExports: { direct: true } },
],
'no-restricted-globals': 'off',
'no-restricted-imports': 'off',
'no-restricted-properties': 'off',
Expand Down Expand Up @@ -503,7 +508,7 @@ module.exports = {
'tsdoc/syntax': 'error',

//////////////////////////////////////////////////////////////////////////
// `@typescript-eslint/eslint-plugin` rule list based on `v5.43.x`
// `@typescript-eslint/eslint-plugin` rule list based on `v5.53.x`
//////////////////////////////////////////////////////////////////////////

// Supported Rules
Expand Down Expand Up @@ -545,13 +550,15 @@ module.exports = {
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/no-for-in-array': 'error',
'@typescript-eslint/no-implicit-any-catch': 'off', // TODO: Enable after TS conversion
'@typescript-eslint/no-import-type-side-effects': 'error',
'@typescript-eslint/no-implied-eval': 'error',
'@typescript-eslint/no-inferrable-types': [
'error',
{ ignoreParameters: true, ignoreProperties: true },
],
'@typescript-eslint/no-misused-new': 'error',
'@typescript-eslint/no-misused-promises': 'error',
'@typescript-eslint/no-mixed-enums': 'error',
'@typescript-eslint/no-namespace': 'error',
'@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'error',
'@typescript-eslint/no-non-null-asserted-optional-chain': 'error',
Expand Down Expand Up @@ -665,13 +672,15 @@ module.exports = {

// Below rules are disabled because they conflict with Prettier, see:
// https://github.com/prettier/eslint-config-prettier/blob/main/index.js
'@typescript-eslint/block-spacing': 'off',
'@typescript-eslint/object-curly-spacing': 'off',
'@typescript-eslint/quotes': 'off',
'@typescript-eslint/brace-style': 'off',
'@typescript-eslint/comma-dangle': 'off',
'@typescript-eslint/comma-spacing': 'off',
'@typescript-eslint/func-call-spacing': 'off',
'@typescript-eslint/indent': 'off',
'@typescript-eslint/key-spacing': 'off',
'@typescript-eslint/keyword-spacing': 'off',
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/no-extra-parens': 'off',
Expand Down Expand Up @@ -805,6 +814,7 @@ module.exports = {
},
},
rules: {
'no-restricted-exports': 'off',
'node/no-unpublished-require': 'off',
'import/no-default-export': 'off',
'import/no-commonjs': 'off',
Expand Down
Loading