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

3.0.3 • Public • Published

ESLint JavaScript configurations ✔

A collection of some common sense linting rules for JavaScript projects.

// eslint.config.mjs

import path from "node:path";
import { fileURLToPath } from "node:url";

import eslintJs from "@byloth/eslint-config";
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), ...eslintJs];

Package Sidebar

Install

npm i @byloth/eslint-config

Weekly Downloads

52

Version

3.0.3

License

Apache-2.0

Unpacked Size

4.51 kB

Total Files

4

Last publish

Collaborators

  • byloth