ESLint plugins for Channel.io web projects
$ npm install --dev @channel.io/eslint-plugin
$ yarn add --dev @channel.io/eslint-plugin
Edit .eslintrc.js
module.exports = {
// ...
plugins: ['@channel.io'],
rules: {
'@channel.io/no-classnames-with-one-argument': 'error',
'@channel.io/hooks-deps-element-newline': 'warn'
}
}
Documents are written by Korean only.