@channel.io/eslint-plugin
v1.3.0
Published
ESLint plugins for Channel.io web projects
Downloads
1,750
Readme
@channel.io/eslint-plugin
ESLint plugins for Channel.io web projects
Installation
npm
$ npm install --dev @channel.io/eslint-pluginYarn
$ yarn add --dev @channel.io/eslint-pluginUsage
Edit .eslintrc.js
module.exports = {
// ...
plugins: ['@channel.io'],
rules: {
'@channel.io/no-classnames-with-one-argument': 'error',
'@channel.io/hooks-deps-element-newline': 'warn',
},
}Docs
Documents are written by Korean only.
- hooks-deps-element-newline
- no-classnames-with-one-argument
- no-translate-with-template-literal
- pascal-case-enum-name
- pascal-case-interface-name
- pascal-case-type-name
- prevent-destructured-argument-callback-in-intersection-observer
See also
- https://github.com/channel-io/eslint-config
