Skip to content

j10ccc/eslint-config

Repository files navigation

@j10c/eslint-config

NPM Version

  • Double quotes, with semi
  • No trailing space
  • Auto fix for formatting (aimed to be used standalone without Prettier)
  • Reasonable defaults, best practices, only one-line of config

Installation

$ pnpm i -D @j10c/eslint-config

Usage

Create an eslint.config.mjs file(using flat config):

import j10c from "@j10c/eslint-config";

export default j10c();

Or use with custom config

export default [
  ...await j10c(),
  {
    // Your custom config
  }
]