Skip to content

eslint/create-config

@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

Sponsors

The following companies, organizations, and individuals support ESLint's ongoing maintenance and development. Become a Sponsor to get your logo on our READMEs and website.

Platinum Sponsors

Automattic Airbnb

Gold Sponsors

Qlty Software Shopify

Silver Sponsors

Vite Liftoff American Express StackBlitz

Bronze Sponsors

Cybozu N-iX Ltd Icons8 Discord GitBook Nx HeroCoders LambdaTest

Technology Sponsors

Technology sponsors allow us to use their products and services for free as part of a contribution to the open source ecosystem and our work.

Netlify Algolia 1Password