1.4.10 • Published 10 months ago

@denaro-config/eslint-config-prettier v1.4.10

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@denaro-config/eslint-config-prettier

:tada: 前端工程化中的 prettier 通用配置, 补充 eslint 的不足之处, 尽情享受 prettier 带来的代码舒适度。

npm (scoped) NPM

GitHub repo size GitHub Repo stars GitHub issues GitHub top language

npm jsDelivr hits (npm scoped)

参考官网地址

安装至您的项目

npm install -D @denaro-config/eslint-config-prettier
# or
pnpm install -D @denaro-config/eslint-config-prettier
# or
yarn add -D @denaro-config/eslint-config-prettier

使用

在项目根目录下创建 .prettierrc.cjs 文件, 参考配置内容如下:

module.exports = {
    extends: ['@denaro-config/eslint-config-prettier']
}

你也可以在配置中省略 eslint-config

module.exports = {
    extends: ['@denaro-config/prettier']
}

结合 prettier 使用

参考 prettier

1.4.10

10 months ago

1.4.9

12 months ago

1.4.8

1 year ago

1.4.7

1 year ago

1.4.6

1 year ago

1.4.5

1 year ago

1.4.4

1 year ago

1.4.3

1 year ago

1.4.2

1 year ago

1.4.1

1 year ago

1.4.0

1 year ago

1.3.2

2 years ago

1.3.1

2 years ago

1.2.4

2 years ago

1.3.0

2 years ago

1.2.3

2 years ago

1.2.0

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago