eslint-config-pretty-standard

A shareable eslint+prettier config based on standard

MIT 14 个版本
安装
npm install eslint-config-pretty-standard
yarn add eslint-config-pretty-standard
pnpm add eslint-config-pretty-standard
bun add eslint-config-pretty-standard
README

eslint-config-pretty-standard

A shareable eslint+prettier config based on standard.

This eslint config contains all the standard rules that is not about code style. The idea is that you use this config together with prettier.

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

Here's how to install everything you need:

npm install --save-dev eslint-config-pretty-standard eslint prettier

Then, add this to your .eslintrc file:

{
  "extends": ["pretty-standard"]
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

版本列表
3.0.1 2019-07-19
3.0.0 2019-07-19
2.0.1 2019-01-14
2.0.0 2018-06-25
1.4.1 2018-05-18
1.4.0 2018-05-03
1.3.0 2018-02-26
1.2.0 2018-02-09
1.1.0 2017-10-08
1.0.0 2017-10-06
0.3.0 2017-10-05
0.2.2 2017-04-03
0.2.1 2017-04-03
0.2.0 2017-04-03