JSPM

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

Shareable ESLint config, following the Inpsyde JavaScript Style Guide.

Package Exports

  • eslint-config-inpsyde

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-inpsyde) 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-inpsyde

Version Status Build Downloads License

Shareable ESLint config, following the Inpsyde JavaScript Style Guide.

Installation

Install via Yarn:

yarn add --dev eslint-config-inpsyde eslint

Install via npm:

npm install --save-dev eslint-config-inpsyde eslint

Usage

This package exports two shareable ESLint configs. Both packages only require eslint.

eslint-config-inpsyde

The default config is intended to be used for linting modern JavaScript code. Currently, this means that the rules are specifically designed for ES6 code, while the config also allows to parse ES7.

Install the package, then add "extends": "inpsyde" to your .eslintrc file.

eslint-config-inpsyde/es5

If you want to lint ES5 code, then this config is for you.

Install the package, then add "extends": "inpsyde/es5" to your .eslintrc file.

Further Information

For much more detailed information on how to use ESLint (for your WordPress projects), please refer to this post.

License

Copyright (c) 2017 Inpsyde GmbH

This code is licensed under the MIT License.