-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)type: bug/fix
Description
Please provide us with the following information:
- OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Mac OSX 10.9.5
- Versions. Please run
ng --version
. If there's nothing outputted, please
run in a Terminal:
node --version
And paste the result here.
v5.6.0
- Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
Run ng lint
the rule loader throws an error but this line assumes it is a lint error showing the following confusing message.
> tslint "src/**/*.ts"
Lint errors found in the listed files.
- The log given by the failure. Normally this include a stack trace and some
more information.
[Error: Command failed: /bin/sh -c npm run lint
/project-folder/node_modules/tslint/lib/ruleLoader.js:29
throw new Error(errorMessage);
^
Error: Could not find the following rules specified in the configuration:
host-parameter-decorator
input-parameter-decorator
output-parameter-decorator
attribute-parameter-decorator
input-property-directive
output-property-directive
at Object.loadRules (/project-folder/node_modules/tslint/lib/ruleLoader.js:29:15)
at Linter.lint (/project-folder/node_modules/tslint/lib/tslint.js:25:44)
at processFile (/project-folder/node_modules/tslint/lib/tslint-cli.js:118:29)
at Array.forEach (native)
at Object.<anonymous> (/project-folder/node_modules/tslint/lib/tslint-cli.js:128:41)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
- Mention any other details that might be useful.
Thanks! We'll be in touch soon.
Metadata
Metadata
Assignees
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgenteffort1: easy (hours)type: bug/fix