1.1.3 • Published 2 years ago
@scheisse/eslint-base-config v1.1.3
@scheisse/eslint-base-config
An opinionated ESLint shareable config. It's designed to help you maintain a consistent code style and quality in your JavaScript 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-base-config
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 eslintBaseConfig from '@scheisse/eslint-base-config'
export default [
...eslintBaseConfig,
// Other custom rules or overrides can be added here
]