@channel.io/eslint-plugin
ESLint plugins for Channel.io web projects
Installation
npm
$ npm install --dev @channel.io/eslint-plugin
Yarn
$ yarn add --dev @channel.io/eslint-plugin
Usage
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