Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zhike-team/eslint-plugin-zhike

custom eslint rules for apollon-frontend
https://github.com/zhike-team/eslint-plugin-zhike

Last synced: 4 days ago
JSON representation

custom eslint rules for apollon-frontend

Awesome Lists containing this project

README

        

# eslint-plugin-zhike
custom eslint rules for apollon-frontend

### Usage
```bash
npm install --save-dev @zhike/eslint-plugin
```

### Configuration
```js
{
plugins: [
'@zhike'
],
rules: {
'@zhike/use-images-by-require': 'error'
}
}
```

### Rules
- `use-images-by-require` : 静态图片必须以 `require()` 的方式引入