1.0.4 • Published 2 years ago
@scheisse/eslint-config-ts v1.0.4
@scheisse/eslint-config-ts
An opinionated ESLint shareable config with TypeScript. It's designed to help you maintain a consistent code style and quality in your JavaScript and TypeScript projects.
NOTE: Make sure that you have ESLint (version 8.0.0
or higher) installed in your project since this configuration relies on the ESM (ECMAScript Modules) syntax for the config file, often referred to as a flat config.
Installation
You can install the configuration and its dependencies using npm:
npm i -D @scheisse/eslint-config-ts
Usage
After installing the package, you need to extend the configuration in your ESLint configuration file. Here's an example of how to do it in a eslint.config.js
file:
import eslintConfigTypeScript from '@scheisse/eslint-config-ts'
export default [
...eslintConfigTypeScript,
// Other custom rules or overrides can be added here
]