Skip to content

Commit

Permalink
Add @typescript-eslint/no-loop-func rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Sep 7, 2020
1 parent edf8d6d commit f622de7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions index.js
Expand Up @@ -287,6 +287,8 @@ module.exports = {

'no-extra-semi': 'off',
'@typescript-eslint/no-extra-semi': 'error',
'no-loop-func': 'off',
'@typescript-eslint/no-loop-func': 'error',
'no-loss-of-precision': 'off',
'@typescript-eslint/no-loss-of-precision': 'error',
'@typescript-eslint/no-extraneous-class': [
Expand Down
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -44,16 +44,16 @@
"simple"
],
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^3.10.0",
"@typescript-eslint/parser": "^3.10.0",
"@typescript-eslint/eslint-plugin": "^4.1.0",
"@typescript-eslint/parser": "^4.1.0",
"ava": "^2.4.0",
"eslint": "^7.7.0",
"eslint": "^7.8.1",
"temp-write": "^4.0.0",
"typescript": "^3.9.5"
"typescript": "^4.0.2"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": ">=3.10.0",
"eslint": ">=6.6.0",
"@typescript-eslint/eslint-plugin": ">=4.1.0",
"eslint": ">=7.8.0",
"typescript": ">=3.6.0"
}
}

0 comments on commit f622de7

Please sign in to comment.