@oceanopen/eslint-config-antfu
v0.0.2
Published
Eslint config for antfu/eslint-config
Readme
基于 antfu 的 ESLint 配置
1. 相关链接
- 腾讯云 - 开发者社区 - ESLint 教程
- eslint-config-alloy
- eslint-config
- ESlint Code Guide
- ESlint Shareable Config
- Anthony extended ESLint rules. For antfu/eslint-config.
2.使用
// eslint.config.js 或 eslint.config.mjs
import antfu from '@antfu/eslint-config'
import config from '@oceanopen/eslint-config-antfu'
export default antfu({
...config
})3. 发版
判断网络环境:
curl https://registry.npmjs.org
# {}若当前项目未登录过则:
npm adduser --registry=https://registry.npmjs.org/
# npm notice Log in on https://registry.npmjs.org/
# Create your account at:
# https://www.npmjs.com/login?next=/login/cli/1a7636a8-1102-4c6c-b50d-b86ae5662656
# Press ENTER to open in the browser...
# Logged in on https://registry.npmjs.org/.发版:
npm run release