1.0.0 • Published 6 months ago

@yandongxu/eslint-config-prettier v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
6 months ago

README

Setup

Before ESLint Flat Config becomes stable, in order to work around a known limitation in ESLint, we recommend you to use this package alongside @rushstack/eslint-patch, so that you don't have to install too many dependencies:

pnpm i @yandongxu/eslint-config-prettier @rushstack/eslint-patch -D

Usage

/* eslint-env node */
require("@rushstack/eslint-patch/modern-module-resolution")

/**
 * @type {import("eslint").Linter.Config}
 */
module.exports = {
  extends: [
    // ... other configs
    "@yandongxu/eslint-config-prettier"
  ]
}