5.0.10 • Published 8 months ago
@kdujs/cli-plugin-eslint v5.0.10
@kdujs/cli-plugin-eslint
eslint plugin for kdu-cli
Injected Commands
kdu-cli-service lintUsage: kdu-cli-service lint [options] [...files] Options: --format [formatter] specify formatter (default: codeframe) --no-fix do not fix errors --max-errors specify number of errors to make build failed (default: 0) --max-warnings specify number of warnings to make build failed (default: Infinity)Lints and fixes files. If no specific files are given, it lints all files in
srcandtest.Other ESLint CLI options are also supported.
Configuration
ESLint can be configured via .eslintrc or the eslintConfig field in package.json.
Lint-on-save during development with eslint-loader is enabled by default. It can be disabled with the lintOnSave option in kdu.config.js:
module.exports = {
lintOnSave: false
}Installing in an Already Created Project
kdu add @kdujs/eslintInjected webpack-chain Rules
config.module.rule('eslint')config.module.rule('eslint').use('eslint-loader')
3.5.1
8 months ago
5.0.1
3 years ago
5.0.10
3 years ago
5.0.0
3 years ago
3.0.0
3 years ago
4.0.5
3 years ago
4.0.4
3 years ago
4.0.1
3 years ago
4.0.0
3 years ago
4.0.3
3 years ago
4.0.2
3 years ago
5.0.9
3 years ago
5.0.9-beta.0
3 years ago
5.0.8
3 years ago
5.0.8-beta.2
3 years ago
5.0.8-beta.1
3 years ago
5.0.8-beta.0
3 years ago