Comments (3)
@cladera had the same issue but I realised their documentation example was actually incorrect.
Change it to "no-console": [true, "log", "error"]
and it should work ok.
from codelyzer.
It worked!
Thanks @arnaudvalle
from codelyzer.
Having the same trouble and cannot solve it..
{
"rulesDirectory": [
"node_modules/codelyzer"
],
"rules": {
"callable-types": true,
"class-name": true,
"comment-format": [ false ],
"curly": true,
"eofline": true,
"forin": false,
"import-blacklist": [true, "rxjs"],
"import-spacing": false,
"indent": [
true,
"spaces"
],
"label-position": true,
"max-line-length": [
true,
140
],
"member-access": false,
"member-ordering": [
false,
"static-before-instance",
"variables-before-functions"
],
"no-arg": true,
"no-bitwise": true,
"no-console": [true, "log", "error", "info"],
"no-construct": true,
"no-debugger": true,
"no-duplicate-variable": true,
"no-empty": false,
"no-empty-interface": true,
"no-eval": true,
"no-inferrable-types": [false, "ignore-params"],
"no-shadowed-variable": true,
"no-string-literal": false,
"no-string-throw": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-unused-expression": false,
"no-unused-variable": true,
"no-use-before-declare": true,
"no-var-keyword": true,
"object-literal-sort-keys": false,
"one-line": [
true,
"check-catch",
"check-else",
"check-whitespace"
],
"prefer-const": true,
"quotemark": [
true,
"single"
],
"radix": true,
"semicolon": [
"always"
],
"triple-equals": [
true,
"allow-null-check"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"typeof-compare": true,
"unified-signatures": true,
"variable-name": false,
"whitespace": [
true,
"check-decl",
"check-operator",
"check-separator",
"check-type"
],
"use-input-property-decorator": true,
"use-output-property-decorator": true,
"use-host-property-decorator": true,
"no-input-rename": false,
"no-output-rename": false,
"use-life-cycle-interface": true,
"use-pipe-transform-interface": true,
"component-class-suffix": true,
"directive-class-suffix": true,
"no-access-missing-member": true,
"templates-use-public": true,
"invoke-injectable": true
}
}
from codelyzer.
Related Issues (20)
- Dependency Dashboard
- Support for Angular 10
- Update codelyzer support for Angular v13 HOT 3
- Angular 14 HOT 2
- Update Angular to resolve vulnerability CVE-2021-4231 HOT 3
- Deprecated dependency "[email protected]"
- tslint 6 compatibility HOT 5
- Support for Angular 8.x.x HOT 1
- directive-selector throws an error when it comes across an empty @Directive() HOT 2
- [feature request]: Add a new rule validate decorators
- Support Angular 10 HOT 15
- No changelog for version 6.0.0 HOT 7
- [Feature Request] Rule: Inputs, Outputs and lifecycle methods on top HOT 1
- [feature request]: Allow aria-label to suppress template-accessibility-alt-text violation
- component-class-suffix does not work. HOT 5
- 5.3.0 not published on NPM HOT 6
- How to Run Codelyzer
- @angular/core and @angular/compiler explicitly listed as dependencies in published package.json HOT 5
- [feature request]: Allow aria-label to suppress template-accessibility-elements-content violation HOT 1
- template-click-events-have-key-events throws error on anchor <a> element
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codelyzer.