Skip to content

Commit

Permalink
Add restrict-plus-operands rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jan 23, 2019
1 parent 2604fb2 commit f3bf368
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ module.exports = {
'@typescript-eslint/no-var-requires': 'error',
'@typescript-eslint/prefer-interface': 'error',
'@typescript-eslint/prefer-namespace-keyword': 'error',
'@typescript-eslint/restrict-plus-operands': 'error',
'@typescript-eslint/type-annotation-spacing': 'error'
}
};
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@
"simple"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^1.0.0",
"@typescript-eslint/eslint-plugin": "^1.1.0",
"ava": "^1.1.0",
"eslint": "^5.12.1",
"temp-write": "^3.4.0",
"typescript": "^3.2.4"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=1.0.0",
"@typescript-eslint/eslint-plugin": ">=1.1.0",
"eslint": ">=5.12.1",
"typescript": ">=3.2.4"
}
Expand Down

0 comments on commit f3bf368

Please sign in to comment.