@zhike/eslint-plugin
v1.2.0
Published
custom eslint rules for smartstudy
Downloads
8
Readme
eslint-plugin-zhike
custom eslint rules for apollon-frontend
Usage
npm install --save-dev @zhike/eslint-plugin
Configuration
{
plugins: [
'@zhike'
],
rules: {
'@zhike/use-images-by-require': 'error'
}
}
Rules
use-images-by-require
: 静态图片必须以require()
的方式引入