Skip to content

Commit

Permalink
Merge branch 'beta-4.52.2' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
AxelDreemurr authored Nov 6, 2023
2 parents 291afce + 3d09163 commit 46231a1
Show file tree
Hide file tree
Showing 134 changed files with 1,315 additions and 661 deletions.
26 changes: 16 additions & 10 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,37 @@ module.exports = {
'dist/**/*',
'.eslintrc.js'
],
plugins: ['@typescript-eslint/eslint-plugin'],
plugins: ['@typescript-eslint/eslint-plugin', 'import', 'prettier', 'import-newlines', 'sort-exports'],
extends: [
'plugin:@typescript-eslint/eslint-recommended',
'airbnb-typescript/base',
'plugin:@typescript-eslint/recommended',
'prettier'
'prettier',
],
root: true,
env: {
node: true,
jest: true,
},
rules: {
'quotes': ['error', 'single'],
'comma-dangle': ['error', 'only-multiline'],
'no-multiple-empty-lines': ['warn', { max: 1, maxEOF: 0 }],
'eol-last': ['error', 'always'],
'space-before-function-paren': ['error', { named: 'never' }],
'@typescript-eslint/lines-between-class-members': ['warn', 'always', { exceptAfterOverload: true, exceptAfterSingleLine: true }],
'@typescript-eslint/interface-name-prefix': 'off',
'import-newlines/enforce': ['error', 3],
'import/no-extraneous-dependencies': 'off',
'import/order': ['warn', { alphabetize: { order: 'asc' }, 'newlines-between': 'never' }],
'indent': ['error', 2, { SwitchCase: 1 }],
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/semi': ['warn'],
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/lines-between-class-members': ['warn', 'always', { exceptAfterOverload: true, exceptAfterSingleLine: true }],
'@typescript-eslint/member-delimiter-style': ['warn'],
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': ['warn', { args: 'none', vars: 'local', varsIgnorePattern: 'key' }],
'@typescript-eslint/semi': ['warn'],
'quotes': ['error', 'single'],
'sort-exports/sort-exports': ['warn', { sortDir: 'asc' }],
'sort-imports': ['warn', { ignoreDeclarationSort: true }],
'space-before-function-paren': ['error', { named: 'never' }],

},
overrides: [
{
Expand Down
Loading

0 comments on commit 46231a1

Please sign in to comment.