Skip to content

Commit

Permalink
feat: upgrade parser & plugin to 2.22.0
Browse files Browse the repository at this point in the history
BREAKING CHANGE: parser & plugin v2.22.0 required.

BREAKING CHANGE: added rule @typescript-eslint/no-base-to-string.
  • Loading branch information
mightyiam committed Mar 5, 2020
1 parent f143136 commit fb87883
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"TypeScript"
],
"dependencies": {
"@typescript-eslint/parser": "^2.19.2",
"@typescript-eslint/parser": "^2.22.0",
"eslint-config-standard": "^14.1.0"
},
"peerDependencies": {
Expand All @@ -64,14 +64,14 @@
"eslint-plugin-node": ">=9.1.0",
"eslint-plugin-promise": ">=4.2.1",
"eslint-plugin-standard": ">=4.0.0",
"@typescript-eslint/eslint-plugin": ">=2.19.2"
"@typescript-eslint/eslint-plugin": ">=2.22.0"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@commitlint/travis-cli": "^8.2.0",
"@types/node": "^13.7.0",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/eslint-plugin": "^2.22.0",
"ava": "^3.3.0",
"editorconfig-checker": "^3.0.3",
"eslint": "^6.7.2",
Expand Down
1 change: 1 addition & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ test('export', (t): void => {
}
],
'@typescript-eslint/no-array-constructor': 'error',
'@typescript-eslint/no-base-to-string': 'error',
'@typescript-eslint/no-dupe-class-members': 'error',
'@typescript-eslint/no-dynamic-delete': 'error',
'@typescript-eslint/no-empty-function': ['error', {
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export = {
singleline: { delimiter: 'comma', requireLast: false }
}
],
'@typescript-eslint/no-base-to-string': 'error',
'@typescript-eslint/no-dynamic-delete': 'error',
'@typescript-eslint/no-empty-function': ['error', {
allow: [
Expand Down

0 comments on commit fb87883

Please sign in to comment.