@byloth/eslint-config-typescript
v3.0.3
Published
A collection of some common sense linting rules for TypeScript projects. ✔
Downloads
313
Maintainers
Readme
ESLint TypeScript configurations ✔
A collection of some common sense linting rules for TypeScript projects.
// eslint.config.mjs
import path from "node:path";
import { fileURLToPath } from "node:url";
import eslintTs from "@byloth/eslint-config-typescript";
import { includeIgnoreFile } from "@eslint/compat";
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const gitignorePath = path.resolve(__dirname, ".gitignore");
export default [includeIgnoreFile(gitignorePath), ...eslintTs];