@manuth/eslint-plugin-typescript v5.0.3
ESLintPresets
A set of personal eslint-rulesets for TypeScript-projects
Usage
Flat Config Interface
Import flatConfigs from this module and use the desired configurations:
eslint.config.js:
import { flatConfigs } from "@manuth/eslint-plugin-typescript";
export default [
...flatConfigs.recommendedWithTypeChecking
]Following configurations are available:
weak:
Lightweight configurations which prevent common issues from happeningweakWithTypeChecking:
Theweakconfiguration including rules which require type checkingrecommended:
An opinionated default configurationrecommendedWithTypeChecking:
Therecommendedconfiguration including rules which require type checking
eslintrc (Legacy) Config Interface
Add the desired presets to the extends-list of your configuration:
.eslintrc.cjs:
module.exports = {
extends = [
"plugins:@manuth/typescript/recommended-requiring-type-checking"
];
};Following configurations are available:
weak:
Lightweight configurations which prevent common issues from happeningweak-requiring-type-checking:
Theweakconfiguration including rules which require type checkingrecommended:
An opinionated default configurationrecommended-requiring-type-checking:
Therecommendedconfiguration including rules which require type checking
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago