eslint-config-ion2s
v4.4.0
Published
ESLint shareable config for portals maintained by ion2s.
Readme
eslint-config-ion2s
ESLint shareable config for portals maintained by ion2s.
Installation
$ npm i -D eslint eslint-config-ion2sUsage
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: 8,
},
};
