eslint-config-types
v1.0.0
Published
ESLint configuration for JavaScript using stripped types, without TypeScript runtime features
Downloads
16
Readme
eslint-config-types
ESLint configuration for JavaScript using stripped types, without TypeScript runtime features
Installation
npm install --save-dev eslint eslint-config-types
pnpm install --save-dev eslint eslint-config-types
yarn add --dev eslint eslint-config-types @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint
Usage
In your eslint.config.js
file, add:
import types from "eslint-config-types";
export default [
types,
// existing config (if any)
];
In your .eslintrc.json
file, add:
"extends": "types/legacy"
Inspiration
https://x.com/sebastienlorber/status/1820497162872226062