@planjs/fabric
v0.0.95
Published
code style
Downloads
8
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;