Skip to content

Commit aa43f1d

Browse files
committed
Add array-callback-return
1 parent 02ef4b5 commit aa43f1d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mapcreator/eslint-config",
3-
"version": "1.0.3",
3+
"version": "1.0.4",
44
"description": "MapCreator eslint configs",
55
"main": "index.js",
66
"repository": "git@github.com:MapCreatorEU/eslint-config.git",

rules/es6/bestPractices.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ const prod = require('../../helpers/prod');
22

33
module.exports = {
44
rules: {
5+
'array-callback-return': 'error',
56
'block-scoped-var': 'error',
67
'curly': ['error', 'multi-line', 'consistent'],
78
// 'default-case': [],

0 commit comments

Comments
 (0)