From d321f68c462acbec50d9cf6a977f1a4a50e8924e Mon Sep 17 00:00:00 2001 From: Nick Hwang Date: Wed, 24 Feb 2016 13:53:14 -0500 Subject: [PATCH] Fix word spacing and preserve consistent quotes --- packages/eslint-config-airbnb/rules/best-practices.js | 2 +- packages/eslint-config-airbnb/rules/react.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eslint-config-airbnb/rules/best-practices.js b/packages/eslint-config-airbnb/rules/best-practices.js index 6f667924..ff782a5b 100644 --- a/packages/eslint-config-airbnb/rules/best-practices.js +++ b/packages/eslint-config-airbnb/rules/best-practices.js @@ -76,7 +76,7 @@ module.exports = { 'no-new': 2, // disallow use of new operator for Function object 'no-new-func': 2, - // disallows creating new instances of String,Number, and Boolean + // disallows creating new instances of String, Number, and Boolean 'no-new-wrappers': 2, // disallow use of (old style) octal literals 'no-octal': 2, diff --git a/packages/eslint-config-airbnb/rules/react.js b/packages/eslint-config-airbnb/rules/react.js index b7a9889e..6071cd30 100644 --- a/packages/eslint-config-airbnb/rules/react.js +++ b/packages/eslint-config-airbnb/rules/react.js @@ -106,7 +106,7 @@ module.exports = { 'react/prefer-es6-class': [2, 'always'], // Prevent missing props validation in a React component definition // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md - 'react/prop-types': [2, { 'ignore': [], customValidators: [] }], + 'react/prop-types': [2, { 'ignore': [], 'customValidators': [] }], // Prevent missing React when using JSX // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md 'react/react-in-jsx-scope': 2,