0.1.4 • Published 7 years ago

eslint-config-nvs v0.1.4

Weekly downloads
13
License
MIT
Repository
github
Last release
7 years ago

eslint-config-nvs

This package provides a ESLint shareable config for the Netvlies's JS coding style.

Installation

To make use of this config, install ESLint and this package as a development dependency of your project:

npm install eslint eslint-config-nvs --save-dev

Usage

Create a .eslintrc.* config file:

.eslintrc.js

module.exports = {
  extends: 'nvs'
};

.eslintrc.json

{
  "extends": "nvs"
}

Or add the ESLint config to your package.json:

{
  "name": "project",
  "eslintConfig": {
    "extends": "nvs"
  }
}

Configuration

The default configuration supports ES2015 (ES6) code.

Legacy code

If you need to support legacy code, you can use the nvs/legacy config:

{
  "extends": "nvs/legacy"
}

Update & Publish to NPM

npm version [<newversion> | major | minor | patch | premajor | preminor | prepatch | prerelease | from-git]

npm publish

Changelog

Read the Changelog

License

MIT © Netvlies

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago