Skip to content

Commit

Permalink
Merge pull request #1683 from tj/release/9.x
Browse files Browse the repository at this point in the history
9.0.0 release
  • Loading branch information
shadowspawn committed Jan 28, 2022
2 parents 35a028b + 1f66069 commit 02a124c
Show file tree
Hide file tree
Showing 57 changed files with 10,131 additions and 3,570 deletions.
25 changes: 11 additions & 14 deletions .eslintrc.js
Expand Up @@ -6,10 +6,10 @@ const javascriptSettings = {
],
rules: {
'no-else-return': ['error', { allowElseIf: false }],
'no-var': 'warn',
'one-var': 'off',
'space-before-function-paren': ['error', 'never'],
semi: ['error', 'always']
// manual "semistandard" settings
semi: ['error', 'always'],
'no-extra-semi': 'error'
}
};

Expand All @@ -22,17 +22,12 @@ const typescriptSettings = {
'@typescript-eslint'
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended'
'standard-with-typescript'
],
rules: {
'no-else-return': ['error', { allowElseIf: false }],
'no-var': 'warn',
'one-var': 'off',
'space-before-function-paren': ['error', 'never'],
semi: 'off',
'@typescript-eslint/semi': ['error', 'always'],
'space-before-function-paren': 'off',
'@typescript-eslint/space-before-function-paren': ['error', 'never'],
'@typescript-eslint/member-delimiter-style': [
'error',
{
Expand All @@ -46,9 +41,11 @@ const typescriptSettings = {
}
}
],
// Add some "standard" rules by hand, as eslint-config-standard-with-typescript painful to keep up to date
quotes: ['error', 'single'],
'no-trailing-spaces': 'error'
// manual "semistandard" settings
semi: 'off',
'@typescript-eslint/semi': ['error', 'always'],
'no-extra-semi': 'off',
'@typescript-eslint/no-extra-semi': ['error']
}
};

Expand Down

0 comments on commit 02a124c

Please sign in to comment.