Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
rules
.editorconfig
.eslintrc
.npmignore
CHANGELOG.md
LICENSE
README.md
es5.js
index.js
package.json
yarn.lock

README.md

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.