eslint-config

ESLint configurations for @carnesen projects

MIT License

Downloads
109
Stars
1
Committers
2
eslint-config - eslint-config-carnesen-13.0.0 (2024-05-03) Latest Release

Published by carnesen 6 months ago

eslint-config - eslint-config-carnesen-12.0.0 (2024-05-03)

Published by carnesen 6 months ago

eslint-config - eslint-config-carnesen-11.0.0 (2022-04-30)

Published by carnesen over 2 years ago

Breaking: Drop official support for Node.js version 12

Breaking: Enable rule @typescript-eslint/explicit-member-accessibility.

Breaking: Enable rule @typescript-eslint/no-use-before-define for classes, variables, enums, and typedefs but not for functions which are safely hoisted and type references which are also effectively hoisted.

Feature: Set env.es2021 to true

Feature: Commit the result of eslint --print-config for each .eslintrc file.

eslint-config - eslint-config-carnesen-10.0.0 (2022-04-18)

Published by carnesen over 2 years ago

Breaking: Enable @typescript-eslint/no-shadow and disable the associated base rule to work around a bug where all enums are reported as shadowing https://stackoverflow.com/a/63961972/2793540.

eslint-config - eslint-config-carnesen-9.1.0 (2022-04-11)

Published by carnesen over 2 years ago

Split out separate node.eslintrc.json and react.eslintrc.json configurations to avoid spurious errors when using with Node.js. Keep the main .eslintrc.json as a combination of the two.

eslint-config - eslint-config-carnesen-9.0.0 (2022-03-28)

Published by carnesen over 2 years ago

  • Potentially breaking: Upgrade dependencies. Require TypeScript >=4.0.
eslint-config - eslint-config-carnesen-8.0.0 (2022-03-11)

Published by carnesen over 2 years ago

  • Breaking: Enable rule @typescript-eslint/no-explicit-any. Use unknown instead.
eslint-config - eslint-config-carnesen-7.0.0 (2022-02-25)

Published by carnesen over 2 years ago

  • Feature: Disable no-useless-constructor which incorrectly identifies things like:
class Foo {
   constructor(public readonly bar: string) {}
}
eslint-config - v6.0.1 (2021-10-30)

Published by carnesen almost 3 years ago

  • Breaking: Upgrade all dependencies, make them "^" dependencies to allow this package's users update the dependencies transitively without upgrading this package.

  • Breaking: Drop official support for Node.js v10

  • Added: Official support for Node.js v16

eslint-config - v6.0.0 (2021-10-30)

Published by carnesen almost 3 years ago

  • Breaking: Upgrade all dependencies, make them "^" dependencies to allow this package's users update the dependencies transitively without upgrading this package.

  • Breaking: Drop official support for Node.js v10

  • Added: Official support for Node.js v16

eslint-config - Support React

Published by carnesen over 4 years ago

Breaking

  • Drop nodejs/.eslintrc.json entrypoint

Added

  • Include support for React in main entrypoint
eslint-config - TypeScript support

Published by carnesen over 4 years ago

Breaking

  • TypeScript >=3.8 is a required peer dependency
  • Move base/.eslintrc.json to repository root
  • Drop support for nodejs and react entrypoints
  • Drop support for Node.js 8

Added

  • Support .ts linting via @typescript-eslint.
  • Official support for Node.js versions 10, 12, and 14.
Package Rankings
Top 9.58% on Npmjs.org
Badges
Extracted from project README
build status badge npm version badge github stars badge