Releases
v5.0.0
Compare
Sorry, something went wrong.
No results found
Added
Changed
no-extra-parens - Added ignoreJSX: 'all', // delegate to eslint-plugin-react, enforceForArrowConditionals: false
no-invalid-regexp - Removed allowConstructorFlags: ['u', 'y']
wrap-iife - Changed from 'inside' to 'outside', { functionPrototypeMethods: false }
no-unused-vars - Changed vars from 'local' to 'all'
indent - Changed for always 2 to
SwitchCase: 1,
VariableDeclarator: 1,
outerIIFEBody: 1,
// MemberExpression: null,
FunctionDeclaration: {
parameters: 1,
body: 1
},
FunctionExpression: {
parameters: 1,
body: 1
},
CallExpression: {
arguments: 1
},
ArrayExpression: 1,
ObjectExpression: 1,
ImportDeclaration: 1,
flatTernaryExpressions: false,
// list derived from https://github.com/benjamn/ast-types/blob/HEAD/def/jsx.js
ignoredNodes: ['JSXElement', 'JSXElement > *', 'JSXAttribute', 'JSXIdentifier', 'JSXNamespacedName', 'JSXMemberExpression', 'JSXSpreadAttribute', 'JSXExpressionContainer', 'JSXOpeningElement', 'JSXClosingElement', 'JSXText', 'JSXEmptyExpression', 'JSXSpreadChild'],
ignoreComments: false
new-cap
no-mixed-operators : allowSamePrecedence from true to false
Removed
You can’t perform that action at this time.