@vidaxl/eslint

1.0.3 • Public • Published

VidaXL ESLint

VidaXL's ESLint tooling.

Installation

Prefer project depended modules over global: export PATH="./node_modules/.bin:$PATH".

Add the following to your project:

package.json

"devDependencies": {
  "@vidaxl/eslint": "...",
}
"scripts": {
  "lint": "eslint .",
  "pretest": "eslint .",
}

.eslintrc.js:

module.exports = require('@vidaxl/eslint');

Custom rules

For adding custom rules to .eslintrc.js file use this template:

const _ = require('lodash');

module.exports = _.defaultsDeep({
  rules: {
    // place rules here
  },
}, require('@vidaxl/eslint'));

Readme

Keywords

Package Sidebar

Install

npm i @vidaxl/eslint

Weekly Downloads

43

Version

1.0.3

License

ISC

Unpacked Size

3.25 kB

Total Files

3

Last publish

Collaborators

  • vidaxl-devops
  • vidaxl-ro
  • vidaxl.com
  • yaxandr
  • mirokal