eslint-config-loris

9.1.0 • Public • Published

eslint-config-loris

ESLint config for Loris code style.

Installation

npm install --save-dev eslint eslint-config-loris

Usage

Include config in your .eslintrc.js file:

module.exports = {
    extends: 'loris/es5',
    root: true
};
module.exports = {
    extends: 'loris/es6',
    root: true
};

Other available configurations:

  • loris/es2017

Note that configuration doesn't specify environment. You can easily add it like this:

module.exports = {
    extends: 'loris/es6',
    root: true,
    env: {
        browser: true
    }
};

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-loris

Weekly Downloads

5

Version

9.1.0

License

MIT

Unpacked Size

11.4 kB

Total Files

6

Last publish

Collaborators

  • tarmolov