1 Star 0 Fork 0

Vue.js/eslint-config-prettier

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
skip-formatting.js 546 Bytes
一键复制 编辑 原始数据 按行查看 历史
soda 提交于 2024-10-23 16:59 . feat: generate .d.ts files on publishing
const eslintConfigPrettier = require("eslint-config-prettier");
// Note that we are not extending from the recommended config.
// Because that would be an overkill:
// - since we are not formatting, the plugin isn't needed;
// - and without the `prettier/prettier` rule, we don't have to disable the conflicting `arrow-body-style` and `prefer-arrow-callback` rules.
/** @type {import('eslint').Linter.Config} */
module.exports = {
...eslintConfigPrettier,
rules: {
...eslintConfigPrettier.rules,
"prettier/prettier": "off",
},
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/vuejs/eslint-config-prettier.git
git@gitee.com:vuejs/eslint-config-prettier.git
vuejs
eslint-config-prettier
eslint-config-prettier
main

搜索帮助