Nebula Programming Style
安装
yarn add @nebulare/matrix -D
or npm i @nebulare/matrix --dev
使用
.eslintrc.js
module.exports = {
extends: [require.resolve('@nebulare/matrix/lib/eslint')],
rules: {
// your rules
},
};
.prettierrc.js
const { prettier } = require('@nebulare/matrix');
module.exports = prettier;
.stylelintrc.js
module.exports = {
extends: [require.resolve('@nebulare/matrix/lib/stylelint')],
rules: {
// your rules
},
};