1.0.1 • Published 4 months ago
@luban-ui/stylelint-config v1.0.1
Lu Ban Stylelint Config
Install
npm i -D stylelint @luban-ui/stylelint-config
Create config file
With "type": "module" in package.json (recommended):
// stylelint.config.js
import luban from '@luban-ui/stylelint-config';
/** @type {import('stylelint').Config} */
export default {
extends: [luban()]
// ...other stylelint options
};
With CJS:
// stylelint.config.js
const luban = require('@luban-ui/stylelint-config').default;
module.exports = {
extends: [luban()]
// ...other stylelint options
};