@drieam/eslint-config
v9.1.0
Published
[![npm](https://img.shields.io/npm/v/@drieam/eslint-config-drieam.svg?maxAge=3600)](https://www.npmjs.com/package/@drieam/eslint-config-drieam)
Downloads
162
Keywords
Readme
@drieam/eslint-config
This package provides Drieam's .eslintrc as an extensible shared config. This package is based on Airbnb's configuration.
Usage
import config from "@drieam/eslint-config";
export default [
...config.ESLintTypescript,
...config.ESLintReact,
...config.ESLintTest,
...config.ESLintFormat,
{
// config with just ignores is the replacement for `.eslintignore`
ignores: ["**/node_modules/**", "**/dist/**"],
},
// base config
{
languageOptions: {
parserOptions: {
project: ["./tsconfig.eslint.json"],
},
},
rules: {
["@typescript-eslint/no-unsafe-assignment"]: "off",
}
}
]