Skip to content

Commit

Permalink
chore(deps): bump parser & plugin to v3.0.1
Browse files Browse the repository at this point in the history
BREAKING CHANGE: peer dep version bump

Closes #209.
  • Loading branch information
mightyiam committed May 27, 2020
1 parent 1d61c3d commit 9621cde
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 7 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"TypeScript"
],
"dependencies": {
"@typescript-eslint/parser": "^2.33.0",
"@typescript-eslint/parser": "^3.0.1",
"eslint-config-standard": "^14.1.1"
},
"peerDependencies": {
Expand All @@ -69,14 +69,14 @@
"eslint-plugin-promise": ">=4.2.1",
"eslint-plugin-standard": ">=4.0.0",
"typescript": ">=3.9",
"@typescript-eslint/eslint-plugin": ">=2.33.0"
"@typescript-eslint/eslint-plugin": ">=3.0.1"
},
"devDependencies": {
"@commitlint/cli": "8.3.5",
"@commitlint/travis-cli": "8.3.5",
"@types/eslint": "6.8.1",
"@types/node": "14.0.5",
"@typescript-eslint/eslint-plugin": "2.33.0",
"@typescript-eslint/eslint-plugin": "3.0.1",
"ava": "3.8.2",
"commitlint-config-awesome": "1.0.4",
"editorconfig-checker": "3.0.5",
Expand Down
17 changes: 15 additions & 2 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ test('export', (t): void => {
'@typescript-eslint/adjacent-overload-signatures': 'error',
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
'@typescript-eslint/brace-style': ['error', '1tbs', { allowSingleLine: true }],
'@typescript-eslint/camelcase': ['error', { properties: 'never', genericType: 'always' }],
'@typescript-eslint/comma-spacing': ['error', { before: false, after: true }],
'@typescript-eslint/consistent-type-assertions': [
'error',
Expand Down Expand Up @@ -100,6 +99,12 @@ test('export', (t): void => {
}
],
'@typescript-eslint/method-signature-style': 'error',
'@typescript-eslint/naming-convention': ['error', {
selector: 'variableLike',
leadingUnderscore: 'allow',
trailingUnderscore: 'allow',
format: ['camelCase', 'UPPER_CASE']
}],
'@typescript-eslint/no-array-constructor': 'error',
'@typescript-eslint/no-base-to-string': 'error',
'@typescript-eslint/no-dupe-class-members': 'error',
Expand Down Expand Up @@ -140,7 +145,15 @@ test('export', (t): void => {
'@typescript-eslint/return-await': ['error', 'always'],
'@typescript-eslint/semi': ['error', 'never'],
'@typescript-eslint/space-before-function-paren': ['error', 'always'],
'@typescript-eslint/strict-boolean-expressions': 'error',
'@typescript-eslint/strict-boolean-expressions': ['error', {
allowString: false,
allowNumber: false,
allowNullableObject: false,
allowNullableBoolean: false,
allowNullableString: false,
allowNullableNumber: false,
allowAny: false
}],
'@typescript-eslint/triple-slash-reference': ['error', { lib: 'never', path: 'never', types: 'never' }],
'@typescript-eslint/type-annotation-spacing': 'error'
}
Expand Down
17 changes: 15 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ const config: Linter.Config = {
// Rules exclusive to Standard TypeScript:
'@typescript-eslint/adjacent-overload-signatures': 'error',
'@typescript-eslint/array-type': ['error', { default: 'array-simple' }],
'@typescript-eslint/camelcase': ['error', { properties: 'never', genericType: 'always' }],
'@typescript-eslint/consistent-type-assertions': [
'error',
{
Expand All @@ -89,6 +88,12 @@ const config: Linter.Config = {
}
],
'@typescript-eslint/method-signature-style': 'error',
'@typescript-eslint/naming-convention': ['error', {
selector: 'variableLike',
leadingUnderscore: 'allow',
trailingUnderscore: 'allow',
format: ['camelCase', 'UPPER_CASE']
}],
'@typescript-eslint/no-base-to-string': 'error',
'@typescript-eslint/no-dynamic-delete': 'error',
'@typescript-eslint/no-empty-interface': ['error', { allowSingleExtends: true }],
Expand Down Expand Up @@ -119,7 +124,15 @@ const config: Linter.Config = {
'@typescript-eslint/restrict-plus-operands': ['error', { checkCompoundAssignments: true }],
'@typescript-eslint/restrict-template-expressions': ['error', { allowNumber: true }],
'@typescript-eslint/return-await': ['error', 'always'],
'@typescript-eslint/strict-boolean-expressions': 'error',
'@typescript-eslint/strict-boolean-expressions': ['error', {
allowString: false,
allowNumber: false,
allowNullableObject: false,
allowNullableBoolean: false,
allowNullableString: false,
allowNullableNumber: false,
allowAny: false
}],
'@typescript-eslint/triple-slash-reference': ['error', { lib: 'never', path: 'never', types: 'never' }],
'@typescript-eslint/type-annotation-spacing': 'error'
}
Expand Down

0 comments on commit 9621cde

Please sign in to comment.