@byloth/eslint-config-typescript
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

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];

Package Sidebar

Install

npm i @byloth/eslint-config-typescript

Weekly Downloads

161

Version

3.0.3

License

Apache-2.0

Unpacked Size

3.92 kB

Total Files

4

Last publish

Collaborators

  • byloth