eslint-config-y2
v0.4.2
Published
Highly opinionated ESLint flat config for my TypeScript projects.
Downloads
2
Readme
eslint-config-y2
Highly opinionated ESLint flat config for my TypeScript projects.
Usage
npm i -D eslint-config-y2
Example
import {
baseConfig,
ignoresConfig,
importConfig,
perfConfig,
sortConfig,
testConfig,
tsConfig,
tsOverridesConfig,
} from 'eslint-config-y2';
/** @type {import("eslint").Linter.FlatConfig[]} */
export default [
// prettier-ignore
ignoresConfig,
baseConfig,
tsConfig,
importConfig,
testConfig,
sortConfig,
perfConfig,
tsOverridesConfig,
];