1.2.11 • Published 4 months ago
@luban-ui/eslint-config v1.2.11
Lu Ban Eslint Config
- extends from @antfu/eslint-config;
Install
npm i -D eslint @types/eslint @luban-ui/eslint-config
Create config file
With "type": "module" in package.json (recommended):
// eslint.config.js
import luban from '@luban-ui/eslint-config';
export default luban(
// Configures for antfu's config
{
vue: {
// ...
}
},
// From the second arguments they are ESLint Flat Configs
// you can have multiple configs
{
files: ['**/*.ts'],
rules: {}
},
{
rules: {}
}
);
With CJS:
// eslint.config.js
const luban = require('@luban-ui/eslint-config').default;
module.exports = luban();
1.2.10
4 months ago
1.2.11
4 months ago
1.2.0
4 months ago
1.1.0
4 months ago
1.2.8
4 months ago
1.2.6
4 months ago
1.2.5
4 months ago
1.2.4
4 months ago
1.2.3
4 months ago
1.2.2
4 months ago
1.2.1
4 months ago
1.2.9
4 months ago
1.0.2
4 months ago
1.0.9
4 months ago
1.0.8
4 months ago
1.0.7
4 months ago
1.0.6
4 months ago
1.0.5
4 months ago
1.0.4
4 months ago
1.0.3
4 months ago
1.0.1
5 months ago
1.0.0
5 months ago