diff --git a/index.js b/index.js index 89c8778..50cfa1c 100644 --- a/index.js +++ b/index.js @@ -218,7 +218,7 @@ module.exports = { 'object-property-newline': 'off', 'object-shorthand': 'off', 'one-var-declaration-per-line': 'off', - 'one-var': 'error', + 'one-var': ['error', 'never'], 'operator-assignment': 'off', 'operator-linebreak': 'off', 'padded-blocks': 'off', diff --git a/package.json b/package.json index 6a42fc6..7d48c60 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@afsv/eslint-config-base", - "version": "0.1.1", + "version": "0.1.2", "description": "Base ESLint config", "main": "index.js", "repository": "git@github.com:mdafanasev/eslint-config-base.git",