Skip to content

Commit 21e7b57

Browse files
committed
Add prefer-named-capture-group rule for Node.js 10 target
1 parent 7e56730 commit 21e7b57

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/options-manager.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@ const ENGINE_RULES = {
9797
},
9898
'no-useless-catch': {
9999
'10.0.0': 'error'
100+
},
101+
'prefer-named-capture-group': {
102+
'10.0.0': 'error'
100103
}
101104
};
102105

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"dependencies": {
5252
"arrify": "^1.0.1",
5353
"debug": "^4.1.0",
54-
"eslint": "^5.12.0",
54+
"eslint": "^5.15.0",
5555
"eslint-config-prettier": "^3.3.0",
5656
"eslint-config-xo": "^0.26.0",
5757
"eslint-formatter-pretty": "^2.0.0",

0 commit comments

Comments
 (0)