开发者社区> 镜像站> NPM> eslint-config-standart
eslint-config-standart
Linting rules that make your code look like art that stands on it's own
Last updated 4 years ago by thlorenz .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install eslint-config-standart 
SYNC missed versions from official npm registry.

eslint-config-standart shareable config

Linting rules that make your code look like art that stand s on it's own

Installation

npm install eslint-config-standart

What is This?

Eslint rules based on eslint-config-standard rules with some exceptions, most importantly:

  • comma-first allowed
  • any rules conflicting with formatting code in a tabular manner were removed

Used by standart

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.

To use the JavaScript Standart Style shareable config, first run this:

npm install eslint-config-standart eslint-plugin-standard eslint-plugin-promise

Then, add this to your .eslintrc file:

{
  "extends": "standart"
}

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.

License

MIT

Current Tags

  • 0.2.0                                ...           latest (4 years ago)

2 Versions

  • 0.2.0                                ...           4 years ago
  • 0.1.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 2
Dependencies (1)
Dev Dependencies (0)
None