Skip to content

Releases: tclindner/eslint-config-tc

v6.4.0

28 Apr 03:52
Compare
Choose a tag to compare
Add hold/approval step before pushing to npm

v6.4.0-beta.0

28 Apr 03:48
Compare
Choose a tag to compare
v6.4.0-beta.0 Pre-release
Pre-release
Update package.json

v6.3.0

28 Apr 03:05
89e6502
Compare
Choose a tag to compare

Removed

Removed the following rules that are now covered with the same config in Airbnb.

v6.2.0

26 Apr 19:52
6b4c82f
Compare
Choose a tag to compare

Changed

Thanks @abbyhuisman-rw!!

v6.1.0

14 Apr 14:23
85fe16d
Compare
Choose a tag to compare

Changed

v6.0.0

16 Feb 18:02
f86854b
Compare
Choose a tag to compare

Added

  • Prettier support via eslint-plugin-prettier. Three options have been configured. endOfLine is set to lf. printWidth is set to 124. singleQuote is set to true.

Changed

  • Deferred rules covered by eslint-config-prettier to Prettier.

v5.2.0

28 Jan 02:43
c8a090d
Compare
Choose a tag to compare

Changed

v5.1.0

11 Dec 02:17
f72b3a2
Compare
Choose a tag to compare

Removed

v5.0.1

18 Nov 00:27
Compare
Choose a tag to compare
Peer deps

v5.0.0

17 Nov 22:52
d2a5b03
Compare
Choose a tag to compare

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