appbaseio/mirage

View on GitHub
app/app.component.ts

Summary

Maintainability
F
5 days
Test Coverage

File app.component.ts has 689 lines of code (exceeds 250 allowed). Consider refactoring.
Open

import { Component, OnInit, OnChanges, SimpleChange } from "@angular/core";
import { Subscription } from "rxjs/Subscription";
import { NgForm } from "@angular/forms";
import { AppbaseService } from "./shared/appbase.service";
import { StorageService } from "./shared/storage.service";
Severity: Major
Found in app/app.component.ts - About 1 day to fix

    AppComponent has 36 functions (exceeds 20 allowed). Consider refactoring.
    Open

    @Component({
      selector: "my-app",
      templateUrl: "./app/app.component.html",
      providers: [AppbaseService, StorageService, DocService]
    })
    Severity: Minor
    Found in app/app.component.ts - About 4 hrs to fix

      Function getMappings has 62 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

        getMappings(clearFlag) {
          var self = this;
          this.appbaseService
            .getMappings()
            .then(function(data) {
      Severity: Major
      Found in app/app.component.ts - About 2 hrs to fix

        Function ngOnInit has a Cognitive Complexity of 17 (exceeds 5 allowed). Consider refactoring.
        Open

          ngOnInit() {
            $("body").removeClass("is-loadingApp");
            this.queryParams = this.urlShare.getQueryParameters();
            this.allowHF = !(this.queryParams && this.queryParams.hasOwnProperty("hf"))
              ? true
        Severity: Minor
        Found in app/app.component.ts - About 2 hrs to fix

        Cognitive Complexity

        Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

        A method's cognitive complexity is based on a few simple rules:

        • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
        • Code is considered more complex for each "break in the linear flow of the code"
        • Code is considered more complex when "flow breaking structures are nested"

        Further reading

        Function newQuery has 47 lines of code (exceeds 25 allowed). Consider refactoring.
        Open

          newQuery(currentQuery) {
            let queryList = this.storageService.get("queryList");
            if (queryList) {
              let list = JSON.parse(queryList);
              let queryData = list.filter(function(query) {
        Severity: Minor
        Found in app/app.component.ts - About 1 hr to fix

          Function getIndices has 47 lines of code (exceeds 25 allowed). Consider refactoring.
          Open

            getIndices() {
              var es_host = document.URL.split("/_plugin/")[0];
              var getIndices = this.appbaseService.getIndices(es_host);
              getIndices
                .then(
          Severity: Minor
          Found in app/app.component.ts - About 1 hr to fix

            Function searchList has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.
            Open

              searchList(obj: any) {
                var searchTerm = obj.searchTerm;
                var searchByMethod = obj.searchByMethod ? obj.searchByMethod : "tag";
                this.searchTerm = searchTerm;
                this.searchByMethod = searchByMethod;
            Severity: Minor
            Found in app/app.component.ts - About 1 hr to fix

            Cognitive Complexity

            Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

            A method's cognitive complexity is based on a few simple rules:

            • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
            • Code is considered more complex for each "break in the linear flow of the code"
            • Code is considered more complex when "flow breaking structures are nested"

            Further reading

            Function ngOnInit has 33 lines of code (exceeds 25 allowed). Consider refactoring.
            Open

              ngOnInit() {
                $("body").removeClass("is-loadingApp");
                this.queryParams = this.urlShare.getQueryParameters();
                this.allowHF = !(this.queryParams && this.queryParams.hasOwnProperty("hf"))
                  ? true
            Severity: Minor
            Found in app/app.component.ts - About 1 hr to fix

              Function getVersion has 33 lines of code (exceeds 25 allowed). Consider refactoring.
              Open

                getVersion() {
                  var self = this;
                  this.appbaseService
                    .getVersion()
                    .then(function(res) {
              Severity: Minor
              Found in app/app.component.ts - About 1 hr to fix

                Function confirmDeleteQuery has 31 lines of code (exceeds 25 allowed). Consider refactoring.
                Open

                  confirmDeleteQuery(confirmFlag: any) {
                    if (confirmFlag && this.currentDeleteQuery) {
                      var currentQuery = this.currentDeleteQuery;
                      this.getQueryList();
                      this.savedQueryList.forEach(
                Severity: Minor
                Found in app/app.component.ts - About 1 hr to fix

                  Function setLayoutResizer has 28 lines of code (exceeds 25 allowed). Consider refactoring.
                  Open

                    setLayoutResizer() {
                      this.setLayoutFlag = true;
                      var self = this;
                      $("body").layout({
                        east__size: "50%",
                  Severity: Minor
                  Found in app/app.component.ts - About 1 hr to fix

                    Function saveQuery has 26 lines of code (exceeds 25 allowed). Consider refactoring.
                    Open

                      saveQuery(inputQuery: any) {
                        this.getQueryList();
                        var createdAt = new Date().getTime();
                        let currentQuery = {
                          name: this.query_info.name,
                    Severity: Minor
                    Found in app/app.component.ts - About 1 hr to fix

                      Function setProp has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                      Open

                        setProp(propInfo: any) {
                          if (propInfo.name === "finalUrl") {
                            this.finalUrl = propInfo.value;
                            this.urlShare.inputs["finalUrl"] = this.finalUrl;
                          }
                      Severity: Minor
                      Found in app/app.component.ts - About 25 mins to fix

                      Cognitive Complexity

                      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                      A method's cognitive complexity is based on a few simple rules:

                      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                      • Code is considered more complex for each "break in the linear flow of the code"
                      • Code is considered more complex when "flow breaking structures are nested"

                      Further reading

                      Function detectConfig has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                      Open

                        detectConfig(cb) {
                          let config = null;
                          let isDefault =
                            window.location.href.indexOf("#?default=true") > -1 ? true : false;
                          let isInputState =
                      Severity: Minor
                      Found in app/app.component.ts - About 25 mins to fix

                      Cognitive Complexity

                      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                      A method's cognitive complexity is based on a few simple rules:

                      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                      • Code is considered more complex for each "break in the linear flow of the code"
                      • Code is considered more complex when "flow breaking structures are nested"

                      Further reading

                      Function setLayoutResizer has a Cognitive Complexity of 6 (exceeds 5 allowed). Consider refactoring.
                      Open

                        setLayoutResizer() {
                          this.setLayoutFlag = true;
                          var self = this;
                          $("body").layout({
                            east__size: "50%",
                      Severity: Minor
                      Found in app/app.component.ts - About 25 mins to fix

                      Cognitive Complexity

                      Cognitive Complexity is a measure of how difficult a unit of code is to intuitively understand. Unlike Cyclomatic Complexity, which determines how difficult your code will be to test, Cognitive Complexity tells you how difficult your code will be to read and comprehend.

                      A method's cognitive complexity is based on a few simple rules:

                      • Code is not considered more complex when it uses shorthand that the language provides for collapsing multiple statements into one
                      • Code is considered more complex for each "break in the linear flow of the code"
                      • Code is considered more complex when "flow breaking structures are nested"

                      Further reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                            this.filteredQuery.forEach(
                              function(query: any, index: Number) {
                                if (
                                  query.name === currentQuery.name &&
                                  query.tag === currentQuery.tag
                      Severity: Major
                      Found in app/app.component.ts and 1 other location - About 2 hrs to fix
                      app/app.component.ts on lines 532..541

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 91.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                            this.savedQueryList.forEach(
                              function(query: any, index: Number) {
                                if (
                                  query.name === currentQuery.name &&
                                  query.tag === currentQuery.tag
                      Severity: Major
                      Found in app/app.component.ts and 1 other location - About 2 hrs to fix
                      app/app.component.ts on lines 542..551

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 91.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                          if (propInfo.name === "selectedTypes") {
                            this.selectedTypes = propInfo.value;
                            this.urlShare.inputs["selectedTypes"] = this.selectedTypes;
                          }
                      Severity: Minor
                      Found in app/app.component.ts and 1 other location - About 55 mins to fix
                      app/app.component.ts on lines 654..657

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 53.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                          if (propInfo.name === "finalUrl") {
                            this.finalUrl = propInfo.value;
                            this.urlShare.inputs["finalUrl"] = this.finalUrl;
                          }
                      Severity: Minor
                      Found in app/app.component.ts and 1 other location - About 55 mins to fix
                      app/app.component.ts on lines 662..665

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 53.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Identical blocks of code found in 2 locations. Consider refactoring.
                      Open

                          if (appsList) {
                            try {
                              this.appsList = JSON.parse(appsList);
                            } catch (e) {
                              this.appsList = [];
                      Severity: Minor
                      Found in app/app.component.ts and 1 other location - About 50 mins to fix
                      app/app.component.ts on lines 279..285

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 51.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Identical blocks of code found in 2 locations. Consider refactoring.
                      Open

                          if (appsList) {
                            try {
                              this.appsList = JSON.parse(appsList);
                            } catch (e) {
                              this.appsList = [];
                      Severity: Minor
                      Found in app/app.component.ts and 1 other location - About 50 mins to fix
                      app/app.component.ts on lines 249..255

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 51.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                          this.allowF = !this.allowHF
                            ? false
                            : !(this.queryParams && this.queryParams.hasOwnProperty("f"))
                            ? true
                            : false;
                      Severity: Minor
                      Found in app/app.component.ts and 1 other location - About 45 mins to fix
                      app/app.component.ts on lines 119..123

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 50.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      Similar blocks of code found in 2 locations. Consider refactoring.
                      Open

                          this.allowH = !this.allowHF
                            ? false
                            : !(this.queryParams && this.queryParams.hasOwnProperty("h"))
                            ? true
                            : false;
                      Severity: Minor
                      Found in app/app.component.ts and 1 other location - About 45 mins to fix
                      app/app.component.ts on lines 114..118

                      Duplicated Code

                      Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:

                      Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.

                      When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).

                      Tuning

                      This issue has a mass of 50.

                      We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.

                      The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.

                      If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.

                      See codeclimate-duplication's documentation for more information about tuning the mass threshold in your .codeclimate.yml.

                      Refactorings

                      Further Reading

                      comment must start with a space
                      Open

                        //Get config from localstorage
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: comment-format

                      Enforces formatting rules for single-line comments.

                      Rationale

                      Helps maintain a consistent, readable style in your codebase.

                      Notes
                      • Has Fix

                      Config

                      Four arguments may be optionally provided:

                      • "check-space" requires that all single-line comments must begin with a space, as in // comment
                        • note that for comments starting with multiple slashes, e.g. ///, leading slashes are ignored
                        • TypeScript reference comments are ignored completely
                      • "check-lowercase" requires that the first non-whitespace character of a comment must be lowercase, if applicable.
                      • "check-uppercase" requires that the first non-whitespace character of a comment must be uppercase, if applicable.
                      • "allow-trailing-lowercase" allows that only the first comment of a series of comments needs to be uppercase.
                        • requires "check-uppercase"
                        • comments must start at the same position

                      Exceptions to "check-lowercase" or "check-uppercase" can be managed with object that may be passed as last argument.

                      One of two options can be provided in this object:

                      • "ignore-words" - array of strings - words that will be ignored at the beginning of the comment.
                      • "ignore-pattern" - string - RegExp pattern that will be ignored at the beginning of the comment.
                      Examples
                      "comment-format": true,check-space,check-uppercase,allow-trailing-lowercase
                      "comment-format": true,check-lowercase,[object Object]
                      "comment-format": true,check-lowercase,[object Object]
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "check-space",
                                "check-lowercase",
                                "check-uppercase",
                                "allow-trailing-lowercase"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "ignore-words": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "ignore-pattern": {
                                  "type": "string"
                                }
                              },
                              "minProperties": 1,
                              "maxProperties": 1
                            }
                          ]
                        },
                        "minLength": 1,
                        "maxLength": 5
                      }

                      For more information see this page.

                      comment must start with a space
                      Open

                              //set input state
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: comment-format

                      Enforces formatting rules for single-line comments.

                      Rationale

                      Helps maintain a consistent, readable style in your codebase.

                      Notes
                      • Has Fix

                      Config

                      Four arguments may be optionally provided:

                      • "check-space" requires that all single-line comments must begin with a space, as in // comment
                        • note that for comments starting with multiple slashes, e.g. ///, leading slashes are ignored
                        • TypeScript reference comments are ignored completely
                      • "check-lowercase" requires that the first non-whitespace character of a comment must be lowercase, if applicable.
                      • "check-uppercase" requires that the first non-whitespace character of a comment must be uppercase, if applicable.
                      • "allow-trailing-lowercase" allows that only the first comment of a series of comments needs to be uppercase.
                        • requires "check-uppercase"
                        • comments must start at the same position

                      Exceptions to "check-lowercase" or "check-uppercase" can be managed with object that may be passed as last argument.

                      One of two options can be provided in this object:

                      • "ignore-words" - array of strings - words that will be ignored at the beginning of the comment.
                      • "ignore-pattern" - string - RegExp pattern that will be ignored at the beginning of the comment.
                      Examples
                      "comment-format": true,check-space,check-uppercase,allow-trailing-lowercase
                      "comment-format": true,check-lowercase,[object Object]
                      "comment-format": true,check-lowercase,[object Object]
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "check-space",
                                "check-lowercase",
                                "check-uppercase",
                                "allow-trailing-lowercase"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "ignore-words": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "ignore-pattern": {
                                  "type": "string"
                                }
                              },
                              "minProperties": 1,
                              "maxProperties": 1
                            }
                          ]
                        },
                        "minLength": 1,
                        "maxLength": 5
                      }

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var es_host = document.URL.split("/_plugin/")[0];
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                                  var indices = [];
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var appsList = this.storageService.get("mirage-appsList");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var createdAt = new Date().getTime();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Don't use 'Number' as a type. Avoid using the Number type. Did you mean number?
                      Open

                              function(query: any, index: Number) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: ban-types

                      Bans specific types from being used. Does not ban the corresponding runtime objects from being used.

                      Notes
                      • TypeScript Only

                      Config

                      A list of ["regex", "optional explanation here"], which bans types that match regex

                      Examples
                      "ban-types": true,Object,Use {} instead.,String
                      Schema
                      {
                        "type": "list",
                        "listType": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "minLength": 1,
                          "maxLength": 2
                        }
                      }

                      For more information see this page.

                      comment must start with a space
                      Open

                          //set input state
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: comment-format

                      Enforces formatting rules for single-line comments.

                      Rationale

                      Helps maintain a consistent, readable style in your codebase.

                      Notes
                      • Has Fix

                      Config

                      Four arguments may be optionally provided:

                      • "check-space" requires that all single-line comments must begin with a space, as in // comment
                        • note that for comments starting with multiple slashes, e.g. ///, leading slashes are ignored
                        • TypeScript reference comments are ignored completely
                      • "check-lowercase" requires that the first non-whitespace character of a comment must be lowercase, if applicable.
                      • "check-uppercase" requires that the first non-whitespace character of a comment must be uppercase, if applicable.
                      • "allow-trailing-lowercase" allows that only the first comment of a series of comments needs to be uppercase.
                        • requires "check-uppercase"
                        • comments must start at the same position

                      Exceptions to "check-lowercase" or "check-uppercase" can be managed with object that may be passed as last argument.

                      One of two options can be provided in this object:

                      • "ignore-words" - array of strings - words that will be ignored at the beginning of the comment.
                      • "ignore-pattern" - string - RegExp pattern that will be ignored at the beginning of the comment.
                      Examples
                      "comment-format": true,check-space,check-uppercase,allow-trailing-lowercase
                      "comment-format": true,check-lowercase,[object Object]
                      "comment-format": true,check-lowercase,[object Object]
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "check-space",
                                "check-lowercase",
                                "check-uppercase",
                                "allow-trailing-lowercase"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "ignore-words": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "ignore-pattern": {
                                  "type": "string"
                                }
                              },
                              "minProperties": 1,
                              "maxProperties": 1
                            }
                          ]
                        },
                        "minLength": 1,
                        "maxLength": 5
                      }

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                              self.urlShare.inputs["selectedTypes"] = self.selectedTypes;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                              self.urlShare.inputs["result"] = self.result;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var searchByMethod = obj.searchByMethod ? obj.searchByMethod : "tag";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      block is empty
                      Open

                            } catch (e) {}
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-empty

                      Disallows empty blocks.

                      Blocks with a comment inside are not considered empty.

                      Rationale

                      Empty blocks are often indicators of missing code.

                      Config

                      If allow-empty-catch is specified, then catch blocks are allowed to be empty. If allow-empty-functions is specified, then function definitions are allowed to be empty.

                      Examples
                      "no-empty": true
                      "no-empty": true,allow-empty-catch
                      "no-empty": true,allow-empty-functions
                      "no-empty": true,allow-empty-catch,allow-empty-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "allow-empty-catch"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "allow-empty-functions"
                              ]
                            }
                          ]
                        }
                      }

                      For more information see this page.

                      Shadowed name: 'query'
                      Open

                            let queryData = list.filter(function(query) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-shadowed-variable

                      Disallows shadowing variable declarations.

                      Rationale

                      When a variable in a local scope and a variable in the containing scope have the same name, shadowing occurs. Shadowing makes it impossible to access the variable in the containing scope and obscures to what value an identifier actually refers. Compare the following snippets:

                      const a = 'no shadow';
                      function print() {
                          console.log(a);
                      }
                      print(); // logs 'no shadow'.
                      const a = 'no shadow';
                      function print() {
                          const a = 'shadow'; // TSLint will complain here.
                          console.log(a);
                      }
                      print(); // logs 'shadow'.

                      ESLint has an equivalent rule. For more background information, refer to this MDN closure doc.

                      Config

                      You can optionally pass an object to disable checking for certain kinds of declarations. Possible keys are "class", "enum", "function", "import", "interface", "namespace", "typeAlias" and "typeParameter". You can also pass "underscore" to ignore variable names that begin with _. Just set the value to false for the check you want to disable. All checks default to true, i.e. are enabled by default. Note that you cannot disable variables and parameters.

                      The option "temporalDeadZone" defaults to true which shows errors when shadowing block scoped declarations in their temporal dead zone. When set to false parameters, classes, enums and variables declared with let or const are not considered shadowed if the shadowing occurs within their temporal dead zone.

                      The following example shows how the "temporalDeadZone" option changes the linting result:

                      function fn(value) {
                          if (value) {
                              const tmp = value; // no error on this line if "temporalDeadZone" is false
                              return tmp;
                          }
                          let tmp = undefined;
                          if (!value) {
                              const tmp = value; // this line always contains an error
                              return tmp;
                          }
                      }
                      Examples
                      "no-shadowed-variable": true
                      "no-shadowed-variable": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "class": {
                            "type": "boolean"
                          },
                          "enum": {
                            "type": "boolean"
                          },
                          "function": {
                            "type": "boolean"
                          },
                          "import": {
                            "type": "boolean"
                          },
                          "interface": {
                            "type": "boolean"
                          },
                          "namespace": {
                            "type": "boolean"
                          },
                          "typeAlias": {
                            "type": "boolean"
                          },
                          "typeParameter": {
                            "type": "boolean"
                          },
                          "temporalDeadZone": {
                            "type": "boolean"
                          },
                          "underscore": {
                            "type": "boolean"
                          }
                        }
                      }

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var current = changes["selectedQuery"].currentValue;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var queryString = JSON.stringify(this.savedQueryList);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var dejavuLink = this.urlShare.dejavuLink();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      non-arrow functions are forbidden
                      Open

                            .then(function(res) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: only-arrow-functions

                      Disallows traditional (non-arrow) function expressions.

                      Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

                      Rationale

                      Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

                      Config

                      Two arguments may be optionally provided:

                      • "allow-declarations" allows standalone function declarations.
                      • "allow-named-functions" allows the expression function foo() {} but not function() {}.
                      Examples
                      "only-arrow-functions": true
                      "only-arrow-functions": true,allow-declarations,allow-named-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "allow-declarations",
                            "allow-named-functions"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 1
                      }

                      For more information see this page.

                      non-arrow functions are forbidden
                      Open

                                setTimeout(function() {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: only-arrow-functions

                      Disallows traditional (non-arrow) function expressions.

                      Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

                      Rationale

                      Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

                      Config

                      Two arguments may be optionally provided:

                      • "allow-declarations" allows standalone function declarations.
                      • "allow-named-functions" allows the expression function foo() {} but not function() {}.
                      Examples
                      "only-arrow-functions": true
                      "only-arrow-functions": true,allow-declarations,allow-named-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "allow-declarations",
                            "allow-named-functions"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 1
                      }

                      For more information see this page.

                      Identifier 'self' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      " should be '
                      Open

                      import { Component, OnInit, OnChanges, SimpleChange } from "@angular/core";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          this.storageService.set("mirage-appsList", JSON.stringify(this.appsList));
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                  self.detectChange = "check";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                            this.urlShare.inputs["finalUrl"] = this.finalUrl;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                            this.urlShare.inputs["selectedTypes"] = this.selectedTypes;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var obj = {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var APPNAME = this.config.appname;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      non-arrow functions are forbidden
                      Open

                            this.appsList = this.appsList.filter(function(app) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: only-arrow-functions

                      Disallows traditional (non-arrow) function expressions.

                      Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

                      Rationale

                      Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

                      Config

                      Two arguments may be optionally provided:

                      • "allow-declarations" allows standalone function declarations.
                      • "allow-named-functions" allows the expression function foo() {} but not function() {}.
                      Examples
                      "only-arrow-functions": true
                      "only-arrow-functions": true,allow-declarations,allow-named-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "allow-declarations",
                            "allow-named-functions"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 1
                      }

                      For more information see this page.

                      Identifier 'data' is never reassigned; use 'const' instead of 'let'.
                      Open

                                  let data = res.json();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'searchByMethod' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var searchByMethod = obj.searchByMethod ? obj.searchByMethod : "tag";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Assigning this reference to local variable not allowed: self.
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-this-assignment

                      Disallows unnecessary references to this.

                      Rationale

                      Assigning a variable to this instead of properly using arrow lambdas may be a symptom of pre-ES6 practices or not managing scope well.

                      Instead of storing a reference to this and using it inside a function () {:

                      const self = this;
                      
                      setTimeout(function () {
                          self.doWork();
                      });

                      Use () => arrow lambdas, as they preserve this scope for you:

                      setTimeout(() => {
                          this.doWork();
                      });

                      Config

                      Two options may be provided on an object:

                      • allow-destructuring allows using destructuring to access members of this (e.g. { foo, bar } = this;).
                      • allowed-names may be specified as a list of regular expressions to match allowed variable names.
                      Examples
                      "no-this-assignment": true
                      "no-this-assignment": true,[object Object]
                      Schema
                      {
                        "additionalProperties": false,
                        "properties": {
                          "allow-destructuring": {
                            "type": "boolean"
                          },
                          "allowed-names": {
                            "listType": "string",
                            "type": "list"
                          }
                        },
                        "type": "object"
                      }

                      For more information see this page.

                      " should be '
                      Open

                        if (url.lastIndexOf("/") === url.length - 1) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              type: "",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                          var current = changes["selectedQuery"].currentValue;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var appsList = this.storageService.get("mirage-appsList");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Identifier 'appsList' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var appsList = this.storageService.get("mirage-appsList");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'version' is never reassigned; use 'const' instead of 'let'.
                      Open

                                  let version =
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'decryptedData' is never reassigned; use 'const' instead of 'var'.
                      Open

                                var decryptedData = self.urlShare.decryptedData;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'queryData' is never reassigned; use 'const' instead of 'let'.
                      Open

                            let queryData = list.filter(function(query) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'self' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      " should be '
                      Open

                        public BRANCH = "dev";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("body").removeClass("is-loadingApp");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              $("#learnModal").modal("show");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          var prev = changes["selectedQuery"].previousValue;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              final: "{}"
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      comment must start with a space
                      Open

                                  //set input state
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: comment-format

                      Enforces formatting rules for single-line comments.

                      Rationale

                      Helps maintain a consistent, readable style in your codebase.

                      Notes
                      • Has Fix

                      Config

                      Four arguments may be optionally provided:

                      • "check-space" requires that all single-line comments must begin with a space, as in // comment
                        • note that for comments starting with multiple slashes, e.g. ///, leading slashes are ignored
                        • TypeScript reference comments are ignored completely
                      • "check-lowercase" requires that the first non-whitespace character of a comment must be lowercase, if applicable.
                      • "check-uppercase" requires that the first non-whitespace character of a comment must be uppercase, if applicable.
                      • "allow-trailing-lowercase" allows that only the first comment of a series of comments needs to be uppercase.
                        • requires "check-uppercase"
                        • comments must start at the same position

                      Exceptions to "check-lowercase" or "check-uppercase" can be managed with object that may be passed as last argument.

                      One of two options can be provided in this object:

                      • "ignore-words" - array of strings - words that will be ignored at the beginning of the comment.
                      • "ignore-pattern" - string - RegExp pattern that will be ignored at the beginning of the comment.
                      Examples
                      "comment-format": true,check-space,check-uppercase,allow-trailing-lowercase
                      "comment-format": true,check-lowercase,[object Object]
                      "comment-format": true,check-lowercase,[object Object]
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "check-space",
                                "check-lowercase",
                                "check-uppercase",
                                "allow-trailing-lowercase"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "ignore-words": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "ignore-pattern": {
                                  "type": "string"
                                }
                              },
                              "minProperties": 1,
                              "maxProperties": 1
                            }
                          ]
                        },
                        "minLength": 1,
                        "maxLength": 5
                      }

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                              self.urlShare.inputs["finalUrl"] = self.finalUrl;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                                  this.urlShare.inputs["selectedTypes"] = this.selectedTypes;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                              var decryptedData = data.data;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                                    var obj = {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                            var currentQuery = this.currentDeleteQuery;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var message = info.message;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      non-arrow functions are forbidden
                      Open

                            .catch(function(e) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: only-arrow-functions

                      Disallows traditional (non-arrow) function expressions.

                      Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

                      Rationale

                      Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

                      Config

                      Two arguments may be optionally provided:

                      • "allow-declarations" allows standalone function declarations.
                      • "allow-named-functions" allows the expression function foo() {} but not function() {}.
                      Examples
                      "only-arrow-functions": true
                      "only-arrow-functions": true,allow-declarations,allow-named-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "allow-declarations",
                            "allow-named-functions"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 1
                      }

                      For more information see this page.

                      non-arrow functions are forbidden
                      Open

                            .then(function(data) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: only-arrow-functions

                      Disallows traditional (non-arrow) function expressions.

                      Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

                      Rationale

                      Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

                      Config

                      Two arguments may be optionally provided:

                      • "allow-declarations" allows standalone function declarations.
                      • "allow-named-functions" allows the expression function foo() {} but not function() {}.
                      Examples
                      "only-arrow-functions": true
                      "only-arrow-functions": true,allow-declarations,allow-named-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "allow-declarations",
                            "allow-named-functions"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 1
                      }

                      For more information see this page.

                      Identifier 'getIndices' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var getIndices = this.appbaseService.getIndices(es_host);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'obj' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var obj = {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'list' is never reassigned; use 'const' instead of 'let'.
                      Open

                            let list = JSON.parse(queryList);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'bodyHeight' is never reassigned; use 'const' instead of 'var'.
                      Open

                            var bodyHeight = $("body").height();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      " should be '
                      Open

                      import { NgForm } from "@angular/forms";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                      import { DocService } from "./shared/docService";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                      import { Config } from "./shared/config";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                        public errorHookHelp = new EditorHook({ editorId: "errorEditor" });
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          appname: "2016primaries",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            window.location.href.indexOf("input_state=") > -1 ? true : false;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                    "mirage-appsList",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      Don't use 'Number' as a type. Avoid using the Number type. Did you mean number?
                      Open

                              function(query: any, index: Number) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: ban-types

                      Bans specific types from being used. Does not ban the corresponding runtime objects from being used.

                      Notes
                      • TypeScript Only

                      Config

                      A list of ["regex", "optional explanation here"], which bans types that match regex

                      Examples
                      "ban-types": true,Object,Use {} instead.,String
                      Schema
                      {
                        "type": "list",
                        "listType": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "minLength": 1,
                          "maxLength": 2
                        }
                      }

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                              self.urlShare.inputs["config"] = self.config;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var URL = trimUrl(this.config.url);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      non-arrow functions are forbidden
                      Open

                            function() {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: only-arrow-functions

                      Disallows traditional (non-arrow) function expressions.

                      Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

                      Rationale

                      Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

                      Config

                      Two arguments may be optionally provided:

                      • "allow-declarations" allows standalone function declarations.
                      • "allow-named-functions" allows the expression function foo() {} but not function() {}.
                      Examples
                      "only-arrow-functions": true
                      "only-arrow-functions": true,allow-declarations,allow-named-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "allow-declarations",
                            "allow-named-functions"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 1
                      }

                      For more information see this page.

                      Identifier 'current' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var current = changes["selectedQuery"].currentValue;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'es_host' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var es_host = document.URL.split("/_plugin/")[0];
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Assigning this reference to local variable not allowed: self.
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-this-assignment

                      Disallows unnecessary references to this.

                      Rationale

                      Assigning a variable to this instead of properly using arrow lambdas may be a symptom of pre-ES6 practices or not managing scope well.

                      Instead of storing a reference to this and using it inside a function () {:

                      const self = this;
                      
                      setTimeout(function () {
                          self.doWork();
                      });

                      Use () => arrow lambdas, as they preserve this scope for you:

                      setTimeout(() => {
                          this.doWork();
                      });

                      Config

                      Two options may be provided on an object:

                      • allow-destructuring allows using destructuring to access members of this (e.g. { foo, bar } = this;).
                      • allowed-names may be specified as a list of regular expressions to match allowed variable names.
                      Examples
                      "no-this-assignment": true
                      "no-this-assignment": true,[object Object]
                      Schema
                      {
                        "additionalProperties": false,
                        "properties": {
                          "allow-destructuring": {
                            "type": "boolean"
                          },
                          "allowed-names": {
                            "listType": "string",
                            "type": "list"
                          }
                        },
                        "type": "object"
                      }

                      For more information see this page.

                      " should be '
                      Open

                          appname: "",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            let list = this.storageService.get("queryList");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                        "Mirage only supports v2.x, v5.x, v6.x and v7.x* of Elasticsearch Query DSL"
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      comment must start with a space
                      Open

                          //set input state
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: comment-format

                      Enforces formatting rules for single-line comments.

                      Rationale

                      Helps maintain a consistent, readable style in your codebase.

                      Notes
                      • Has Fix

                      Config

                      Four arguments may be optionally provided:

                      • "check-space" requires that all single-line comments must begin with a space, as in // comment
                        • note that for comments starting with multiple slashes, e.g. ///, leading slashes are ignored
                        • TypeScript reference comments are ignored completely
                      • "check-lowercase" requires that the first non-whitespace character of a comment must be lowercase, if applicable.
                      • "check-uppercase" requires that the first non-whitespace character of a comment must be uppercase, if applicable.
                      • "allow-trailing-lowercase" allows that only the first comment of a series of comments needs to be uppercase.
                        • requires "check-uppercase"
                        • comments must start at the same position

                      Exceptions to "check-lowercase" or "check-uppercase" can be managed with object that may be passed as last argument.

                      One of two options can be provided in this object:

                      • "ignore-words" - array of strings - words that will be ignored at the beginning of the comment.
                      • "ignore-pattern" - string - RegExp pattern that will be ignored at the beginning of the comment.
                      Examples
                      "comment-format": true,check-space,check-uppercase,allow-trailing-lowercase
                      "comment-format": true,check-lowercase,[object Object]
                      "comment-format": true,check-lowercase,[object Object]
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "check-space",
                                "check-lowercase",
                                "check-uppercase",
                                "allow-trailing-lowercase"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "ignore-words": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "ignore-pattern": {
                                  "type": "string"
                                }
                              },
                              "minProperties": 1,
                              "maxProperties": 1
                            }
                          ]
                        },
                        "minLength": 1,
                        "maxLength": 5
                      }

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var filteredConfig = this.appbaseService.filterurl(URL);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Expected property shorthand in object literal ('{appname}').
                      Open

                            appname: appname,
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: object-literal-shorthand

                      Enforces/disallows use of ES6 object literal shorthand.

                      Notes
                      • Has Fix

                      Config

                      "always" assumed to be default option, thus with no options provided the rule enforces object literal methods and properties shorthands. With "never" option provided, any shorthand object literal syntax causes an error.

                      The rule can be configured in a more granular way. With {"property": "never"} provided (which is equivalent to {"property": "never", "method": "always"}), the rule only flags property shorthand assignments, and respectively with {"method": "never"} (equivalent to {"property": "always", "method": "never"}), the rule fails only on method shorthands.

                      Examples
                      "object-literal-shorthand": true
                      "object-literal-shorthand": true,never
                      "object-literal-shorthand": true,[object Object]
                      Schema
                      {
                        "oneOf": [
                          {
                            "type": "string",
                            "enum": [
                              "never"
                            ]
                          },
                          {
                            "type": "object",
                            "properties": {
                              "property": {
                                "type": "string",
                                "enum": [
                                  "never"
                                ]
                              },
                              "method": {
                                "type": "string",
                                "enum": [
                                  "never"
                                ]
                              }
                            },
                            "minProperties": 1,
                            "maxProperties": 2
                          }
                        ]
                      }

                      For more information see this page.

                      Identifier 'isApp' is never reassigned; use 'const' instead of 'let'.
                      Open

                          let isApp = window.location.href.indexOf("app=") > -1 ? true : false;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      comment must start with a space
                      Open

                        //Set config from localstorage
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: comment-format

                      Enforces formatting rules for single-line comments.

                      Rationale

                      Helps maintain a consistent, readable style in your codebase.

                      Notes
                      • Has Fix

                      Config

                      Four arguments may be optionally provided:

                      • "check-space" requires that all single-line comments must begin with a space, as in // comment
                        • note that for comments starting with multiple slashes, e.g. ///, leading slashes are ignored
                        • TypeScript reference comments are ignored completely
                      • "check-lowercase" requires that the first non-whitespace character of a comment must be lowercase, if applicable.
                      • "check-uppercase" requires that the first non-whitespace character of a comment must be uppercase, if applicable.
                      • "allow-trailing-lowercase" allows that only the first comment of a series of comments needs to be uppercase.
                        • requires "check-uppercase"
                        • comments must start at the same position

                      Exceptions to "check-lowercase" or "check-uppercase" can be managed with object that may be passed as last argument.

                      One of two options can be provided in this object:

                      • "ignore-words" - array of strings - words that will be ignored at the beginning of the comment.
                      • "ignore-pattern" - string - RegExp pattern that will be ignored at the beginning of the comment.
                      Examples
                      "comment-format": true,check-space,check-uppercase,allow-trailing-lowercase
                      "comment-format": true,check-lowercase,[object Object]
                      "comment-format": true,check-lowercase,[object Object]
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "check-space",
                                "check-lowercase",
                                "check-uppercase",
                                "allow-trailing-lowercase"
                              ]
                            },
                            {
                              "type": "object",
                              "properties": {
                                "ignore-words": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "ignore-pattern": {
                                  "type": "string"
                                }
                              },
                              "minProperties": 1,
                              "maxProperties": 1
                            }
                          ]
                        },
                        "minLength": 1,
                        "maxLength": 5
                      }

                      For more information see this page.

                      Identifier 'self' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var bodyHeight = $("body").height();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Identifier 'filteredConfig' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var filteredConfig = this.appbaseService.filterurl(URL);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'isDefault' is never reassigned; use 'const' instead of 'let'.
                      Open

                          let isDefault =
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'isInputState' is never reassigned; use 'const' instead of 'let'.
                      Open

                          let isInputState =
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'currentValue' is never reassigned; use 'const' instead of 'var'.
                      Open

                                var currentValue = self.editorHookHelp.getValue();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'appname' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var appname = this.storageService.get("mirage-appname");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'appsList' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var appsList = this.storageService.get("mirage-appsList");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'currentQuery' is never reassigned; use 'const' instead of 'let'.
                      Open

                          let currentQuery = {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'queryList' is never reassigned; use 'const' instead of 'let'.
                      Open

                          let queryList = this.storageService.get("queryList");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'searchTerm' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var searchTerm = obj.searchTerm;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      " should be '
                      Open

                      import { EditorHook } from "./shared/editorHook";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      Don't bind this without arguments as a scope to a function. Use an arrow lambda instead.
                      Open

                              function(query: any, index: Number) {
                                if (
                                  query.name === currentQuery.name &&
                                  query.tag === currentQuery.tag
                                ) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: unnecessary-bind

                      Prevents unnecessary and/or misleading scope bindings on functions.

                      Rationale

                      function expressions that are immediately bound to this are equivalent to () => arrow lambdas. Additionally, there's no use in binding a scope to an arrow lambda, as it already has one.

                      Notes
                      • Requires Type Info

                      Config

                      Not configurable.

                      Examples
                      "unnecessary-bind": true

                      For more information see this page.

                      " should be '
                      Open

                          yesText: "Delete",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          noText: "Cancel"
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                      import { Subscription } from "rxjs/Subscription";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            "https://Uy82NeW8e:c7d02cce-94cc-4b60-9b17-7e7325195851@scalr.api.appbase.io"
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                      import { StorageService } from "./shared/storage.service";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            : !(this.queryParams && this.queryParams.hasOwnProperty("f"))
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                        templateUrl: "./app/app.component.html",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          this.storageService.set("mirage-url", url);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          this.storageService.set("mirage-appname", appname);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          name: "",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                        public responseHookHelp = new EditorHook({ editorId: "responseBlock" });
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          message: "Do you want to delete this query?",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            if (config && config === "learn") {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                self.config.host === "https://scalr.api.appbase.io" ? true : false;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      block is empty
                      Open

                          } catch (e) {}
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-empty

                      Disallows empty blocks.

                      Blocks with a comment inside are not considered empty.

                      Rationale

                      Empty blocks are often indicators of missing code.

                      Config

                      If allow-empty-catch is specified, then catch blocks are allowed to be empty. If allow-empty-functions is specified, then function definitions are allowed to be empty.

                      Examples
                      "no-empty": true
                      "no-empty": true,allow-empty-catch
                      "no-empty": true,allow-empty-functions
                      "no-empty": true,allow-empty-catch,allow-empty-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "allow-empty-catch"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "allow-empty-functions"
                              ]
                            }
                          ]
                        }
                      }

                      For more information see this page.

                      block is empty
                      Open

                          } catch (e) {}
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-empty

                      Disallows empty blocks.

                      Blocks with a comment inside are not considered empty.

                      Rationale

                      Empty blocks are often indicators of missing code.

                      Config

                      If allow-empty-catch is specified, then catch blocks are allowed to be empty. If allow-empty-functions is specified, then function definitions are allowed to be empty.

                      Examples
                      "no-empty": true
                      "no-empty": true,allow-empty-catch
                      "no-empty": true,allow-empty-functions
                      "no-empty": true,allow-empty-catch,allow-empty-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "anyOf": [
                            {
                              "type": "string",
                              "enum": [
                                "allow-empty-catch"
                              ]
                            },
                            {
                              "type": "string",
                              "enum": [
                                "allow-empty-functions"
                              ]
                            }
                          ]
                        }
                      }

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                                    var obj = {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          for (var type in mapObj) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                            var bodyHeight = $("body").height();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                            var mirageHeight = bodyHeight;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      non-arrow functions are forbidden
                      Open

                            .catch(function(e) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: only-arrow-functions

                      Disallows traditional (non-arrow) function expressions.

                      Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

                      Rationale

                      Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

                      Config

                      Two arguments may be optionally provided:

                      • "allow-declarations" allows standalone function declarations.
                      • "allow-named-functions" allows the expression function foo() {} but not function() {}.
                      Examples
                      "only-arrow-functions": true
                      "only-arrow-functions": true,allow-declarations,allow-named-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "allow-declarations",
                            "allow-named-functions"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 1
                      }

                      For more information see this page.

                      Identifier 'indice' is never reassigned; use 'const' instead of 'let'.
                      Open

                                  for (let indice in data.indices) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'APPNAME' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var APPNAME = this.config.appname;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Don't bind this without arguments as a scope to a function. Use an arrow lambda instead.
                      Open

                            function() {
                              self.errorHookHelp.focus(message);
                              if ($("#errorModal").hasClass("in")) {
                                self.errorHookHelp.setValue(message);
                              } else {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: unnecessary-bind

                      Prevents unnecessary and/or misleading scope bindings on functions.

                      Rationale

                      function expressions that are immediately bound to this are equivalent to () => arrow lambdas. Additionally, there's no use in binding a scope to an arrow lambda, as it already has one.

                      Notes
                      • Requires Type Info

                      Config

                      Not configurable.

                      Examples
                      "unnecessary-bind": true

                      For more information see this page.

                      " should be '
                      Open

                          username: "",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                        public responseMode: string = "historic";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("body").removeClass("is-loadingApp");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          this.allowHF = !(this.queryParams && this.queryParams.hasOwnProperty("hf"))
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                      .trigger("change");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                                  this.urlShare.inputs["result"] = this.result;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      Identifier 'indices' is never reassigned; use 'const' instead of 'var'.
                      Open

                                  var indices = [];
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'mapObj' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var mapObj = mappingObj[this.config.appname].mappings;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      " should be '
                      Open

                        public sort_by: string = "createdAt";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                        public searchByMethod: string = "tag";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            return cb("learn");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              self.finalUrl = self.config.host + "/" + self.config.appname;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                                  this.urlShare.inputs["config"] = this.config;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                          this.urlShare.inputs["finalUrl"] = this.finalUrl;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var getIndices = this.appbaseService.getIndices(es_host);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      " should be '
                      Open

                          url: "",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            if (this.BRANCH === "master") {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                      appname: "sampleapp",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          var appname = this.storageService.get("mirage-appname");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var appname = this.storageService.get("mirage-appname");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      non-arrow functions are forbidden
                      Open

                            .catch(function(e) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: only-arrow-functions

                      Disallows traditional (non-arrow) function expressions.

                      Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

                      Rationale

                      Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

                      Config

                      Two arguments may be optionally provided:

                      • "allow-declarations" allows standalone function declarations.
                      • "allow-named-functions" allows the expression function foo() {} but not function() {}.
                      Examples
                      "only-arrow-functions": true
                      "only-arrow-functions": true,allow-declarations,allow-named-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "allow-declarations",
                            "allow-named-functions"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 1
                      }

                      For more information see this page.

                      Identifier 'prev' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var prev = changes["selectedQuery"].previousValue;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'historicApps' is never reassigned; use 'const' instead of 'let'.
                      Open

                                  let historicApps = this.getAppsList();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'list' is never reassigned; use 'const' instead of 'let'.
                      Open

                            let list = this.storageService.get("queryList");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'source' is never reassigned; use 'const' instead of 'let'.
                      Open

                                let source = data && data[self.config.appname];
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'windowHeight' is never reassigned; use 'const' instead of 'var'.
                      Open

                            var windowHeight = $(window).height();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Don't bind this without arguments as a scope to a function. Use an arrow lambda instead.
                      Open

                                function(res) {
                                  let data = res.json();
                                  this.finalUrl = this.config.host + "/" + this.config.appname;
                                  this.setInitialValue();
                                  this.connected = true;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: unnecessary-bind

                      Prevents unnecessary and/or misleading scope bindings on functions.

                      Rationale

                      function expressions that are immediately bound to this are equivalent to () => arrow lambdas. Additionally, there's no use in binding a scope to an arrow lambda, as it already has one.

                      Notes
                      • Requires Type Info

                      Config

                      Not configurable.

                      Examples
                      "unnecessary-bind": true

                      For more information see this page.

                      " should be '
                      Open

                      import { UrlShare } from "./shared/urlShare";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            : !(this.queryParams && this.queryParams.hasOwnProperty("h"))
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            window.location.href.indexOf("#?default=true") > -1 ? true : false;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              console.log("Not able to get the version.");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                    $("#setType")
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      for (... in ...) statements must be filtered with an if statement
                      Open

                                  for (let indice in data.indices) {
                                    if (historicApps && historicApps.length) {
                                      historicApps.forEach(function(old_app, index) {
                                        if (old_app.appname === indice) {
                                          historicApps.splice(index, 1);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: forin

                      Requires a for ... in statement to be filtered with an if statement.

                      Rationale
                      for (let key in someObject) {
                          if (someObject.hasOwnProperty(key)) {
                              // code here
                          }
                      }

                      Prevents accidental iteration over properties inherited from an object's prototype. See MDN's for...in documentation for more information about for...in loops.

                      Also consider using a Map or Set if you're storing collections of objects. Using Objects can cause occasional edge case bugs, such as if a key is named "hasOwnProperty".

                      Config

                      Not configurable.

                      Examples
                      "forin": true

                      For more information see this page.

                      for (... in ...) statements must be filtered with an if statement
                      Open

                          for (var type in mapObj) {
                            types.push(type);
                          }
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: forin

                      Requires a for ... in statement to be filtered with an if statement.

                      Rationale
                      for (let key in someObject) {
                          if (someObject.hasOwnProperty(key)) {
                              // code here
                          }
                      }

                      Prevents accidental iteration over properties inherited from an object's prototype. See MDN's for...in documentation for more information about for...in loops.

                      Also consider using a Map or Set if you're storing collections of objects. Using Objects can cause occasional edge case bugs, such as if a key is named "hasOwnProperty".

                      Config

                      Not configurable.

                      Examples
                      "forin": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                                var decryptedData = self.urlShare.decryptedData;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                                var currentValue = self.editorHookHelp.getValue();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var mapObj = mappingObj[this.config.appname].mappings;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                            var windowHeight = $(window).height();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Identifier 'decryptedData' is never reassigned; use 'const' instead of 'var'.
                      Open

                              var decryptedData = data.data;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'obj' is never reassigned; use 'const' instead of 'var'.
                      Open

                                    var obj = {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'URL' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var URL = trimUrl(this.config.url);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'types' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var types = [];
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'data' is never reassigned; use 'const' instead of 'let'.
                      Open

                                  let data = res.json();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'queryData' is never reassigned; use 'const' instead of 'let'.
                      Open

                          let queryData = inputQuery ? inputQuery : currentQuery;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'self' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'bodyHeight' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var bodyHeight = $("body").height();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Don't bind this without arguments as a scope to a function. Use an arrow lambda instead.
                      Open

                              function(query: any, index: Number) {
                                if (
                                  query.name === currentQuery.name &&
                                  query.tag === currentQuery.tag
                                ) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: unnecessary-bind

                      Prevents unnecessary and/or misleading scope bindings on functions.

                      Rationale

                      function expressions that are immediately bound to this are equivalent to () => arrow lambdas. Additionally, there's no use in binding a scope to an arrow lambda, as it already has one.

                      Notes
                      • Requires Type Info

                      Config

                      Not configurable.

                      Examples
                      "unnecessary-bind": true

                      For more information see this page.

                      Don't bind this without arguments as a scope to a function. Use an arrow lambda instead.
                      Open

                            function(query, index) {
                              if (query.name === queryData.name && query.tag === queryData.tag) {
                                this.savedQueryList.splice(index, 1);
                              }
                            }.bind(this)
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: unnecessary-bind

                      Prevents unnecessary and/or misleading scope bindings on functions.

                      Rationale

                      function expressions that are immediately bound to this are equivalent to () => arrow lambdas. Additionally, there's no use in binding a scope to an arrow lambda, as it already has one.

                      Notes
                      • Requires Type Info

                      Config

                      Not configurable.

                      Examples
                      "unnecessary-bind": true

                      For more information see this page.

                      Don't bind this without arguments as a scope to a function. Use an arrow lambda instead.
                      Open

                            function(item) {
                              return -item[this.sort_by];
                            }.bind(this)
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: unnecessary-bind

                      Prevents unnecessary and/or misleading scope bindings on functions.

                      Rationale

                      function expressions that are immediately bound to this are equivalent to () => arrow lambdas. Additionally, there's no use in binding a scope to an arrow lambda, as it already has one.

                      Notes
                      • Requires Type Info

                      Config

                      Not configurable.

                      Examples
                      "unnecessary-bind": true

                      For more information see this page.

                      Don't bind this without arguments as a scope to a function. Use an arrow lambda instead.
                      Open

                                function(item) {
                                  return item.name.indexOf(this.searchTerm) !== -1 ? true : false;
                                }.bind(this)
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: unnecessary-bind

                      Prevents unnecessary and/or misleading scope bindings on functions.

                      Rationale

                      function expressions that are immediately bound to this are equivalent to () => arrow lambdas. Additionally, there's no use in binding a scope to an arrow lambda, as it already has one.

                      Notes
                      • Requires Type Info

                      Config

                      Not configurable.

                      Examples
                      "unnecessary-bind": true

                      For more information see this page.

                      " should be '
                      Open

                          tag: ""
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          var appsList = this.storageService.get("mirage-appsList");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              console.log("Not able to get the version.");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                          var prev = changes["selectedQuery"].previousValue;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                            this.urlShare.inputs["result"] = this.result;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var prev = changes["selectedQuery"].previousValue;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var url = this.storageService.get("mirage-url");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var types = [];
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      non-arrow functions are forbidden
                      Open

                              setTimeout(function() {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: only-arrow-functions

                      Disallows traditional (non-arrow) function expressions.

                      Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

                      Rationale

                      Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

                      Config

                      Two arguments may be optionally provided:

                      • "allow-declarations" allows standalone function declarations.
                      • "allow-named-functions" allows the expression function foo() {} but not function() {}.
                      Examples
                      "only-arrow-functions": true
                      "only-arrow-functions": true,allow-declarations,allow-named-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "allow-declarations",
                            "allow-named-functions"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 1
                      }

                      For more information see this page.

                      Identifier 'self' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'message' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var message = info.message;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Don't bind this without arguments as a scope to a function. Use an arrow lambda instead.
                      Open

                              function(item) {
                                return item[this.searchByMethod] &&
                                  item[this.searchByMethod].indexOf(this.searchTerm) !== -1
                                  ? true
                                  : false;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: unnecessary-bind

                      Prevents unnecessary and/or misleading scope bindings on functions.

                      Rationale

                      function expressions that are immediately bound to this are equivalent to () => arrow lambdas. Additionally, there's no use in binding a scope to an arrow lambda, as it already has one.

                      Notes
                      • Requires Type Info

                      Config

                      Not configurable.

                      Examples
                      "unnecessary-bind": true

                      For more information see this page.

                      " should be '
                      Open

                        public searchTerm: string = "";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          title: "Confirm Deletion",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          var current = changes["selectedQuery"].currentValue;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      object access via string literals is disallowed
                      Open

                                  this.urlShare.inputs["finalUrl"] = this.finalUrl;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-string-literal

                      Forbids unnecessary string literal property access. Allows obj["prop-erty"] (can't be a regular property access). Disallows obj["property"] (should be obj.property).

                      Rationale

                      If --noImplicitAny is turned off, property access via a string literal will be 'any' if the property does not exist.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-string-literal": true

                      For more information see this page.

                      Forbidden 'var' keyword, use 'let' or 'const' instead
                      Open

                          var searchTerm = obj.searchTerm;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-var-keyword

                      Disallows usage of the var keyword.

                      Use let or const instead.

                      Rationale

                      Declaring variables using var has several edge case behaviors that make var unsuitable for modern code. Variables declared by var have their parent function block as their scope, ignoring other control flow statements. vars have declaration "hoisting" (similar to functions) and can appear to be used before declaration.

                      Variables declared by const and let instead have as their scope the block in which they are defined, and are not allowed to used before declaration or be re-declared with another const or let.

                      Notes
                      • Has Fix

                      Config

                      Not configurable.

                      Examples
                      "no-var-keyword": true

                      For more information see this page.

                      Identifier 'type' is never reassigned; use 'const' instead of 'var'.
                      Open

                          for (var type in mapObj) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'createdAt' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var createdAt = new Date().getTime();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'dejavuLink' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var dejavuLink = this.urlShare.dejavuLink();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Assigning this reference to local variable not allowed: self.
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-this-assignment

                      Disallows unnecessary references to this.

                      Rationale

                      Assigning a variable to this instead of properly using arrow lambdas may be a symptom of pre-ES6 practices or not managing scope well.

                      Instead of storing a reference to this and using it inside a function () {:

                      const self = this;
                      
                      setTimeout(function () {
                          self.doWork();
                      });

                      Use () => arrow lambdas, as they preserve this scope for you:

                      setTimeout(() => {
                          this.doWork();
                      });

                      Config

                      Two options may be provided on an object:

                      • allow-destructuring allows using destructuring to access members of this (e.g. { foo, bar } = this;).
                      • allowed-names may be specified as a list of regular expressions to match allowed variable names.
                      Examples
                      "no-this-assignment": true
                      "no-this-assignment": true,[object Object]
                      Schema
                      {
                        "additionalProperties": false,
                        "properties": {
                          "allow-destructuring": {
                            "type": "boolean"
                          },
                          "allowed-names": {
                            "listType": "string",
                            "type": "list"
                          }
                        },
                        "type": "object"
                      }

                      For more information see this page.

                      Assigning this reference to local variable not allowed: self.
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-this-assignment

                      Disallows unnecessary references to this.

                      Rationale

                      Assigning a variable to this instead of properly using arrow lambdas may be a symptom of pre-ES6 practices or not managing scope well.

                      Instead of storing a reference to this and using it inside a function () {:

                      const self = this;
                      
                      setTimeout(function () {
                          self.doWork();
                      });

                      Use () => arrow lambdas, as they preserve this scope for you:

                      setTimeout(() => {
                          this.doWork();
                      });

                      Config

                      Two options may be provided on an object:

                      • allow-destructuring allows using destructuring to access members of this (e.g. { foo, bar } = this;).
                      • allowed-names may be specified as a list of regular expressions to match allowed variable names.
                      Examples
                      "no-this-assignment": true
                      "no-this-assignment": true,[object Object]
                      Schema
                      {
                        "additionalProperties": false,
                        "properties": {
                          "allow-destructuring": {
                            "type": "boolean"
                          },
                          "allowed-names": {
                            "listType": "string",
                            "type": "list"
                          }
                        },
                        "type": "object"
                      }

                      For more information see this page.

                      Assigning this reference to local variable not allowed: self.
                      Open

                          var self = this;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-this-assignment

                      Disallows unnecessary references to this.

                      Rationale

                      Assigning a variable to this instead of properly using arrow lambdas may be a symptom of pre-ES6 practices or not managing scope well.

                      Instead of storing a reference to this and using it inside a function () {:

                      const self = this;
                      
                      setTimeout(function () {
                          self.doWork();
                      });

                      Use () => arrow lambdas, as they preserve this scope for you:

                      setTimeout(() => {
                          this.doWork();
                      });

                      Config

                      Two options may be provided on an object:

                      • allow-destructuring allows using destructuring to access members of this (e.g. { foo, bar } = this;).
                      • allowed-names may be specified as a list of regular expressions to match allowed variable names.
                      Examples
                      "no-this-assignment": true
                      "no-this-assignment": true,[object Object]
                      Schema
                      {
                        "additionalProperties": false,
                        "properties": {
                          "allow-destructuring": {
                            "type": "boolean"
                          },
                          "allowed-names": {
                            "listType": "string",
                            "type": "list"
                          }
                        },
                        "type": "object"
                      }

                      For more information see this page.

                      " should be '
                      Open

                      import { AppbaseService } from "./shared/appbase.service";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          var es_host = document.URL.split("/_plugin/")[0];
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          var url = this.storageService.get("mirage-url");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          var appsList = this.storageService.get("mirage-appsList");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                      title: "Elasticsearch Version Not Supported",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              self.urlShare.inputs["config"] = self.config;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                  this.urlShare.inputs["config"] = this.config;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                  this.urlShare.inputs["selectedTypes"] = this.selectedTypes;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          if (propInfo.name === "selectedTypes") {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#errorModal").modal("show");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          if (propInfo.name === "result_time_taken") {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          if (propInfo.name === "random_token") {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          window.open(dejavuLink, "_blank");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                " does not contain any type mapping. You should *first* create a type mapping to perform query operations."
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                  this.urlShare.inputs["result"] = this.result;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#confirmModal").modal("show");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            name: "",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              if ($("#errorModal").hasClass("in")) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              self.urlShare.inputs["result"] = self.result;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#mirage-container").css("height", bodyHeight - 116);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      non-arrow functions are forbidden
                      Open

                                      historicApps.forEach(function(old_app, index) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: only-arrow-functions

                      Disallows traditional (non-arrow) function expressions.

                      Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

                      Rationale

                      Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

                      Config

                      Two arguments may be optionally provided:

                      • "allow-declarations" allows standalone function declarations.
                      • "allow-named-functions" allows the expression function foo() {} but not function() {}.
                      Examples
                      "only-arrow-functions": true
                      "only-arrow-functions": true,allow-declarations,allow-named-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "allow-declarations",
                            "allow-named-functions"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 1
                      }

                      For more information see this page.

                      non-arrow functions are forbidden
                      Open

                            let queryData = list.filter(function(query) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: only-arrow-functions

                      Disallows traditional (non-arrow) function expressions.

                      Note that non-arrow functions are allowed if 'this' appears somewhere in its body (as such functions cannot be converted to arrow functions).

                      Rationale

                      Traditional functions don't bind lexical scope, which can lead to unexpected behavior when accessing 'this'.

                      Config

                      Two arguments may be optionally provided:

                      • "allow-declarations" allows standalone function declarations.
                      • "allow-named-functions" allows the expression function foo() {} but not function() {}.
                      Examples
                      "only-arrow-functions": true
                      "only-arrow-functions": true,allow-declarations,allow-named-functions
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "allow-declarations",
                            "allow-named-functions"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 1
                      }

                      For more information see this page.

                      Identifier 'currentQuery' is never reassigned; use 'const' instead of 'var'.
                      Open

                            var currentQuery = this.currentDeleteQuery;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Don't bind this without arguments as a scope to a function. Use an arrow lambda instead.
                      Open

                              function(res) {
                                try {
                                  let data = res.json();
                                  let historicApps = this.getAppsList();
                                  var indices = [];
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: unnecessary-bind

                      Prevents unnecessary and/or misleading scope bindings on functions.

                      Rationale

                      function expressions that are immediately bound to this are equivalent to () => arrow lambdas. Additionally, there's no use in binding a scope to an arrow lambda, as it already has one.

                      Notes
                      • Requires Type Info

                      Config

                      Not configurable.

                      Examples
                      "unnecessary-bind": true

                      For more information see this page.

                      " should be '
                      Open

                        selector: "my-app",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          password: "",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          host: ""
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                        public editorHookHelp = new EditorHook({ editorId: "editor" });
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          let isApp = window.location.href.indexOf("app=") > -1 ? true : false;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            tag: ""
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          if (propInfo.name === "responseMode") {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            var bodyHeight = $("body").height();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              $("#mirage-container").css("height", mirageHeight);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#errorModal").modal("show");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      Identifier 'url' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var url = this.storageService.get("mirage-url");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'data' is never reassigned; use 'const' instead of 'let'.
                      Open

                                let data = res.json();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Identifier 'queryString' is never reassigned; use 'const' instead of 'var'.
                      Open

                          var queryString = JSON.stringify(this.savedQueryList);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: prefer-const

                      Requires that variable declarations use const instead of let and var if possible.

                      If a variable is only assigned to once when it is declared, it should be declared using 'const'

                      Notes
                      • Has Fix

                      Config

                      An optional object containing the property "destructuring" with two possible values:

                      • "any" (default) - If any variable in destructuring can be const, this rule warns for those variables.
                      • "all" - Only warns if all variables in destructuring can be const.
                      Examples
                      "prefer-const": true
                      "prefer-const": true,[object Object]
                      Schema
                      {
                        "type": "object",
                        "properties": {
                          "destructuring": {
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          }
                        }
                      }

                      For more information see this page.

                      Duplicate variable: 'obj'
                      Open

                                    var obj = {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: no-duplicate-variable

                      Disallows duplicate variable declarations in the same block scope.

                      This rule is only useful when using the var keyword - the compiler will detect redeclarations of let and const variables.

                      Rationale

                      A variable can be reassigned if necessary - there's no good reason to have a duplicate variable declaration.

                      Config

                      You can specify "check-parameters" to check for variables with the same name as a parameter.

                      Examples
                      "no-duplicate-variable": true
                      "no-duplicate-variable": true,check-parameters
                      Schema
                      {
                        "type": "string",
                        "enum": [
                          "check-parameters"
                        ]
                      }

                      For more information see this page.

                      " should be '
                      Open

                              $("#learnModal").modal("show");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            console.log("Not able to filter url", URL);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              self.detectChange += "done";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              self.urlShare.inputs["finalUrl"] = self.finalUrl;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                if ($("body").width() > 768) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                  this.urlShare.inputs["finalUrl"] = this.finalUrl;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          var searchByMethod = obj.searchByMethod ? obj.searchByMethod : "tag";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          if (propInfo.name === "finalUrl") {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            this.urlShare.inputs["selectedTypes"] = this.selectedTypes;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            east__paneSelector: "#paneEast"
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            $(".features-section").css("height", windowHeight);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#learnModal").modal("show");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                  this.finalUrl = this.config.host + "/" + this.config.appname;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#confirmModal").modal("show");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              $("#paneCenter, #paneEast").css("height", mirageHeight);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          var bodyHeight = $("body").height();
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#saveQueryModal").modal("hide");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                    $("#setType")
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                "queryList",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#paneCenter, #paneEast").css("height", bodyHeight);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#paneCenter, #paneEast").css("height", bodyHeight);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                if (!currentValue && currentValue !== "{}") {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                    if ($("body").width() > 768) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("body").layout({
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              $("#paneCenter, #paneEast").css("height", mirageHeight);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $(window).on("resize", setSidebar);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#mirage-container").css("height", bodyHeight - 116);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              self.urlShare.inputs["selectedTypes"] = self.selectedTypes;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              this.detectChange = "check";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#saveQueryModal").modal("hide");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            this.urlShare.inputs["finalUrl"] = this.finalUrl;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              if ($("#errorModal").hasClass("in")) {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                title: "Authentication Error",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              title: "Type does not exist.",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                                      .trigger("change");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            this.storageService.set("queryList", JSON.stringify(this.savedQueryList));
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          this.sort_by = "createdAt";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            east__size: "50%",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              $("#mirage-container").css("height", mirageHeight);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          $("#learnModal").modal("show");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          this.detectChange += "check";
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          this.urlShare.inputs["finalUrl"] = this.finalUrl;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            this.urlShare.inputs["result"] = this.result;
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            $(".features-section").css("height", windowHeight);
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          let queryList = this.storageService.get("queryList");
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                              this.appbaseService.get("/_mapping").then(
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                          if (propInfo.name === "availableFields") {
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      " should be '
                      Open

                            center__paneSelector: "#paneCenter",
                      Severity: Minor
                      Found in app/app.component.ts by tslint

                      Rule: quotemark

                      Enforces quote character for string literals.

                      Notes
                      • Has Fix

                      Config

                      Five arguments may be optionally provided:

                      • "single" enforces single quotes.
                      • "double" enforces double quotes.
                      • "backtick" enforces backticks.
                      • "jsx-single" enforces single quotes for JSX attributes.
                      • "jsx-double" enforces double quotes for JSX attributes.
                      • "avoid-template" forbids single-line untagged template strings that do not contain string interpolations. Note that backticks may still be used if "avoid-escape" is enabled and both single and double quotes are present in the string (the latter option takes precedence).
                      • "avoid-escape" allows you to use the "other" quotemark in cases where escaping would normally be required. For example, [true, "double", "avoid-escape"] would not report a failure on the string literal 'Hello "World"'.
                      Examples
                      "quotemark": true,single,avoid-escape,avoid-template
                      "quotemark": true,single,jsx-double
                      Schema
                      {
                        "type": "array",
                        "items": {
                          "type": "string",
                          "enum": [
                            "single",
                            "double",
                            "backtick",
                            "jsx-single",
                            "jsx-double",
                            "avoid-escape",
                            "avoid-template"
                          ]
                        },
                        "minLength": 0,
                        "maxLength": 5
                      }

                      For more information see this page.

                      There are no issues that match your filters.

                      Category
                      Status