Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/zhike-team/eslint-plugin-zhike
- Owner: zhike-team
- License: mit
- Created: 2019-02-12T03:38:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-18T03:39:01.000Z (almost 6 years ago)
- Last Synced: 2024-12-22T11:07:32.686Z (about 1 month ago)
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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()` 的方式引入