mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
parent
9697a83947
commit
d056e2d625
3 changed files with 8 additions and 3 deletions
|
@ -8,4 +8,8 @@
|
|||
/src/ui/public/utils/decode_geo_hash.js
|
||||
/src/core_plugins/timelion/public/webpackShims/jquery.flot.*
|
||||
/ui_framework/doc_site/build
|
||||
/tasks/vendor
|
||||
/tasks/vendor
|
||||
/packages/*/node_modules
|
||||
/packages/eslint-config-kibana
|
||||
/packages/eslint-plugin-kibana-custom
|
||||
/packages/kbn-build/dist
|
||||
|
|
|
@ -8,7 +8,7 @@ import { runCommand } from './run';
|
|||
|
||||
function help() {
|
||||
const availableCommands = Object.keys(commands)
|
||||
.map(commandName => commands[commandName])
|
||||
.map(commandName => commands[commandName]) // eslint-disable-line import/namespace
|
||||
.map(command => `${command.name} - ${command.description}`);
|
||||
|
||||
console.log(dedent`
|
||||
|
@ -51,7 +51,7 @@ export async function run(argv) {
|
|||
|
||||
const commandOptions = { options, extraArgs, rootPath };
|
||||
|
||||
const command = commands[commandName];
|
||||
const command = commands[commandName]; // eslint-disable-line import/namespace
|
||||
if (command === undefined) {
|
||||
console.log(
|
||||
chalk.red(`[${commandName}] is not a valid command, see 'kbn --help'`)
|
||||
|
|
|
@ -6,6 +6,7 @@ export const DEFAULT_ESLINT_PATHS = [
|
|||
'scripts',
|
||||
'tasks',
|
||||
'test',
|
||||
'packages',
|
||||
'ui_framework/src',
|
||||
'ui_framework/doc_site/src',
|
||||
'ui_framework/generator_kui',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue