@weiran.zsd/create-eslint-config

0.4.6-3 • Public • Published

@eslint/create-config

Utility to create ESLint config files

Usage

Prerequisites: Node.js (^18.18.0, ^20.9.0, or >=21.1.0) built with SSL support. (If you are using an official Node.js distribution, SSL is always built in.)

You can use npm/npx(shipped with Node.js).

# use npm
npm init @eslint/config
# use npx
npx @eslint/create-config

If you want to use a specific shareable config that is hosted on npm, you can use the --config option and specify the package name:

# use `eslint-config-standard` shared config

# npm 7+
npm init @eslint/config -- --config eslint-config-standard

# ⚠️ npm 6.x no extra double-dash:
npm init @eslint/config --config eslint-config-standard

To use an eslintrc-style shared config:

npm init @eslint/config -- --eslintrc --config eslint-config-standard

Package Sidebar

Install

npm i @weiran.zsd/create-eslint-config

Homepage

eslint.org

Weekly Downloads

1

Version

0.4.6-3

License

MIT

Unpacked Size

26 kB

Total Files

8

Last publish

Collaborators

  • weiran.zsd