eslint-config-standardx

16.0.3 • Public • Published

eslint-config-standardx

License NPM Downloads NPM Version Dependency Status devDependency Status Code Style

An extension of eslint-config-standard without peer dependencies, made for JavaScript.

Installation

$ npm install eslint eslint-config-standardx --save-dev

# or yarn
$ yarn add eslint eslint-config-standardx -dev

Usage

In your eslint config:

// .eslintrc.js
module.exports = {
  extends: 'standardx'
}

Example command line usage for ESLint v7:

$ npx eslint .

Motivation

Due to a known limitation in ESLint. Many ESLint shareable config require a large number of peer dependencies. This leads to many inconveniences for developers to use.

My idea is to ignore these problems 😅, and install these peer dependencies directly.

Because I think these problems no longer exist in modern npm.

So this module is just a dependencies wrapper, internal use of eslint-config-standard and its peer dependencies.

Related

Contributing

  1. Fork it on GitHub!
  2. Clone the fork to your own machine.
  3. Checkout your feature branch: git checkout -b my-awesome-feature
  4. Commit your changes to your own branch: git commit -am 'Add some feature'
  5. Push your work back up to your fork: git push -u origin my-awesome-feature
  6. Submit a Pull Request so that we can review your changes.

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

License

MIT © zce

Package Sidebar

Install

npm i eslint-config-standardx

Weekly Downloads

147

Version

16.0.3

License

MIT

Unpacked Size

5.53 kB

Total Files

5

Last publish

Collaborators

  • zce