eslint-config-es
Advanced tools
Comparing version 0.8.4 to 0.8.5
@@ -289,7 +289,7 @@ 'use strict'; | ||
if (plugins.extended) { | ||
if (plugins.includes('extended')) { | ||
rules['extended/consistent-err-names'] = [ 2, 'prefix' ]; | ||
} | ||
if (plugins.mocha) { | ||
if (plugins.includes('mocha')) { | ||
rules['mocha/no-exclusive-tests'] = 2; | ||
@@ -313,3 +313,3 @@ rules['mocha/no-skipped-tests'] = 2; | ||
if (plugins.react) { | ||
if (plugins.includes('react')) { | ||
rules['react/jsx-no-duplicate-props'] = 2; | ||
@@ -316,0 +316,0 @@ rules['react/jsx-uses-vars'] = 2; |
{ | ||
"name": "eslint-config-es", | ||
"version": "0.8.4", | ||
"version": "0.8.5", | ||
"description": "eslint-config-es contains a very strict ESLint configuration for ES2015 and above.", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
13501