JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1379
  • Score
    100M100P100Q118143F
  • License MIT

A shareable eslint+prettier config based on standard

Package Exports

  • eslint-config-pretty-standard

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-pretty-standard) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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.