1.0.11 • Published 3 years ago
@scrawllife/fabric v1.0.11
scrawllife-fabric
一个包含 prettier,eslint,stylelint 的配置文件合集 Migrated to the new github fabric
安装
yarn add -D @scrawllife/fabric
使用
in .eslintrc.js
module.exports = {
extends: [require.resolve('@scrawllife/fabric/dist/eslint')],
rules: {
// your rules
},
};
in .stylelintrc.js
module.exports = {
extends: [require.resolve('@scrawllife/fabric/dist/stylelint')],
rules: {
// your rules
},
};
in .prettierrc.js
const fabric = require('@scrawllife/fabric');
module.exports = {
...fabric.prettier,
};