ESLint configurations for @carnesen projects
MIT License
Published by carnesen 6 months ago
Published by carnesen 6 months ago
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.
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.
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.
Published by carnesen over 2 years ago
Published by carnesen over 2 years ago
unknown
instead.Published by carnesen over 2 years ago
class Foo {
constructor(public readonly bar: string) {}
}
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
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
Published by carnesen over 4 years ago
Published by carnesen over 4 years ago