Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antzymo/eslint-config
Thanks to @antfu/eslint-config, because of it, creating code formats that suit our style has become much easier.
https://github.com/antzymo/eslint-config
eslint eslint-config
Last synced: 27 days ago
JSON representation
Thanks to @antfu/eslint-config, because of it, creating code formats that suit our style has become much easier.
- Host: GitHub
- URL: https://github.com/antzymo/eslint-config
- Owner: AntzyMo
- License: mit
- Created: 2022-06-28T14:43:04.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T08:12:29.000Z (3 months ago)
- Last Synced: 2024-11-24T23:34:17.737Z (30 days ago)
- Topics: eslint, eslint-config
- Language: Vue
- Homepage:
- Size: 246 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README-CN.md
- License: LICENSE
Awesome Lists containing this project
README
# @antzy/eslint-config
English | 中文感谢 [`@antfu/eslint-config`](https://github.com/antfu/eslint-config),正因为有了它,制定属于自己风格的代码格式已经不再是难事了。
## 用法
> Tips: 如果不想手动安装,[这里提供快速安装方法](https://github.com/AntzyMo/ieslint-cli),输入一条命令,省去重复配置操作。
### 手动安装
```bash
pnpm add eslint -D
pnpm add @antzy/eslint-config -D
```### Config eslint.config.js
With `"type"`: `"module"` in package.json (recommended):
```js
import { antzy } from '@antfu/eslint-config'export default antzy({
rules:{
/* your stylistic rules */
}
})
```With CJS:
```js
const { antzy } = require('@antfu/eslint-config')module.exports = antzy({
rules:{
/* your stylistic rules */
}
})```
## License
[MIT](./LICENSE) License © 2023-PRESENT [AntzyMo](https://github.com/AntzyMo)