Skip to content

Commit d321f68

Browse files
author
Nick Hwang
committed
Fix word spacing and preserve consistent quotes
1 parent b32122d commit d321f68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/eslint-config-airbnb/rules/best-practices.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ module.exports = {
7676
'no-new': 2,
7777
// disallow use of new operator for Function object
7878
'no-new-func': 2,
79-
// disallows creating new instances of String,Number, and Boolean
79+
// disallows creating new instances of String, Number, and Boolean
8080
'no-new-wrappers': 2,
8181
// disallow use of (old style) octal literals
8282
'no-octal': 2,

packages/eslint-config-airbnb/rules/react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ module.exports = {
106106
'react/prefer-es6-class': [2, 'always'],
107107
// Prevent missing props validation in a React component definition
108108
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md
109-
'react/prop-types': [2, { 'ignore': [], customValidators: [] }],
109+
'react/prop-types': [2, { 'ignore': [], 'customValidators': [] }],
110110
// Prevent missing React when using JSX
111111
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/react-in-jsx-scope.md
112112
'react/react-in-jsx-scope': 2,

0 commit comments

Comments
 (0)