Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roshan-labs/eslint-config
⚙️ ESLint 配置
https://github.com/roshan-labs/eslint-config
eslint eslintconfig
Last synced: about 2 months ago
JSON representation
⚙️ ESLint 配置
- Host: GitHub
- URL: https://github.com/roshan-labs/eslint-config
- Owner: roshan-labs
- Created: 2022-07-13T09:25:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-30T14:50:06.000Z (12 months ago)
- Last Synced: 2024-01-30T16:09:39.555Z (12 months ago)
- Topics: eslint, eslintconfig
- Language: JavaScript
- Homepage:
- Size: 356 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# @roshan-labs/eslint-config
整合 `@nuxt/eslint-config` 与 `prettier` 规则
## 安装
```bash
pnpm add @roshan-labs/eslint-config eslint -D
```## 使用
扁平配置
```js
// eslint.config.mjs
import config from '@roshan-labs/eslint-config'export default [...config]
```旧版配置
```js
// eslint.config.js
module.exports = {
extends: ['@roshan-labs/eslint-config'],
}
```## License
MIT