Miss any of our Open RFC calls?Watch the recordings here! »

eslint-config-ion2s

4.2.0 • Public • Published

eslint-config-ion2s

ESLint shareable config for portals maintained by ion2s.

Installation

$ npm i --save-dev eslint-config-ion2s

Usage

This module provides a base shareable config and addition shareable configurations.

Specifying ion2s in the extends section of your configuration.

module.exports = {
    extends: 'ion2s',
};

You can also use ESLint configurations for TypeScript and Vue:

module.exports = {
    extends: 'ion2s/typescript',
};
module.exports = {
    extends: 'ion2s/vue',
};

There is also a config for using TypeScript with Vue:

module.exports = {
    extends: 'ion2s/vue-ts',
};

Feel free to add project specific configuration, like env or parserOptions - Example:

module.exports = {
    extends: 'ion2s',
    parserOptions: {
        ecmaVersion: 6,
    },
};
 

Install

npm i eslint-config-ion2s

DownloadsWeekly Downloads

2

Version

4.2.0

License

MIT

Unpacked Size

17.7 kB

Total Files

19

Last publish

Collaborators

  • avatar