mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-14 08:38:08 -05:00
Fix word spacing and preserve consistent quotes
This commit is contained in:
@@ -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,
|
||||
|
||||
2
packages/eslint-config-airbnb/rules/react.js
vendored
2
packages/eslint-config-airbnb/rules/react.js
vendored
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user