eslint-config-standard-next

12.0.0 • Public • Published

eslint-config-standard-next npm downloads javascript style guide

An opinionated ESLint Shareable Config based on JavaScript Standard Style with ES Next rules support.

JavaScript Style Guide - Standard Style

Difference from eslint-config-standard

Force semi-colons ;

Allows ES6 trailing commas

Extenstion to eslint-config-standard

Install

Global

npm install -g eslint-config-standard-next eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node

Local

npm install --save-dev eslint-config-standard-next eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node

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 this shareable config, first install it globally or locally.

Then, add this to your .eslintrc file:

{
  "extends": "standard-next"
}

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.

Version Notice

Starting from 12.0.0 this package use the sematic version to indicate the compatibility to eslint-config-standard package.

i.e. eslint-config-standard-next 12.x is expected to be used with eslint-config-standard 12.x.

Changelog

12.0.0

  • Using new sematic versioning to match the version of eslint-config-standard

    1.1.0

  • Dependency update to match eslint-config-standard 12.x, deprecated experimentalObjectRestSpread option.

    1.0.0

  • Updated the peer dependency versions and dropped rule {"space-before-function-paren":"off"} and {sourceType: 'module'} option.

Lisence

MIT

Package Sidebar

Install

npm i eslint-config-standard-next

Weekly Downloads

58

Version

12.0.0

License

MIT

Unpacked Size

11.4 kB

Total Files

4

Last publish

Collaborators

  • azusa0127