This package provides Drieam's .eslintrc as an extensible shared config. This package is based on Airbnb's configuration.
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",
}
}
]