ds-fabric
v0.0.2
Published
code style
Downloads
3
Maintainers
Readme
fabric
prettier
,eslint
,stylelint
commonly used configuration files.
Usage
in .eslintrc.js
module.exports = {
extends: [require.resolve('@planjs/fabric/dist/eslint')],
globals: {
App: 'readonly',
Page: 'readonly',
Component: 'readonly',
},
rules: {
// your rules
},
};
in .stylelintrc.js
module.exports = {
extends: [require.resolve('@planjs/fabric/dist/stylelint')],
rules: {
// your rules
},
};
in .prettierrc.js
const { prettier } = require('@planjs/fabric');
module.exports = prettier;