Skip to content

eslint/create-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c3f9ffd · Mar 20, 2025
Mar 19, 2025
Jun 19, 2024
Mar 20, 2025
Mar 20, 2025
Dec 8, 2021
Dec 18, 2021
May 17, 2024
Mar 20, 2025
Dec 8, 2021
Apr 28, 2024
Jun 10, 2024
Mar 20, 2025
Apr 4, 2024

Repository files navigation

@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@latest
# use npx
npx @eslint/create-config@latest

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 init @eslint/config@latest -- --config eslint-config-standard

To use an eslintrc-style (legacy) shared config:

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