Skip to content
Snippets Groups Projects
tslint.json 1.94 KiB
Newer Older
  • Learn to ignore specific revisions
  • François Agneray's avatar
    François Agneray committed
    {
    
      "extends": "tslint:recommended",
    
    François Agneray's avatar
    François Agneray committed
      "rules": {
    
        "array-type": false,
        "arrow-parens": false,
        "deprecation": {
          "severity": "warn"
        },
        "component-class-suffix": true,
        "contextual-lifecycle": true,
        "directive-class-suffix": true,
        "directive-selector": [
    
    François Agneray's avatar
    François Agneray committed
          true,
    
          "attribute",
          "app",
          "camelCase"
    
    François Agneray's avatar
    François Agneray committed
        ],
    
        "component-selector": [
          true,
          "element",
          "app",
          "kebab-case"
    
    François Agneray's avatar
    François Agneray committed
        ],
    
        "import-blacklist": [
    
    François Agneray's avatar
    François Agneray committed
          true,
    
    François Agneray's avatar
    François Agneray committed
        ],
    
        "interface-name": false,
        "max-classes-per-file": false,
    
    François Agneray's avatar
    François Agneray committed
        "max-line-length": [
          true,
          140
        ],
        "member-access": false,
        "member-ordering": [
          true,
          {
            "order": [
              "static-field",
              "instance-field",
              "static-method",
              "instance-method"
            ]
          }
        ],
    
        "no-consecutive-blank-lines": false,
    
    François Agneray's avatar
    François Agneray committed
        "no-console": [
          true,
          "debug",
          "info",
          "time",
          "timeEnd",
          "trace"
        ],
        "no-empty": false,
        "no-inferrable-types": [
          true,
          "ignore-params"
        ],
        "no-non-null-assertion": true,
    
        "no-redundant-jsdoc": true,
    
    François Agneray's avatar
    François Agneray committed
        "no-switch-case-fall-through": true,
        "no-use-before-declare": true,
    
        "no-var-requires": false,
        "object-literal-key-quotes": [
    
    François Agneray's avatar
    François Agneray committed
          true,
    
    François Agneray's avatar
    François Agneray committed
        ],
    
        "object-literal-sort-keys": false,
        "ordered-imports": false,
    
    François Agneray's avatar
    François Agneray committed
        "quotemark": [
          true,
          "single"
        ],
    
        "trailing-comma": false,
        "no-conflicting-lifecycle": true,
        "no-host-metadata-property": true,
    
    François Agneray's avatar
    François Agneray committed
        "no-input-rename": true,
    
        "no-inputs-metadata-property": true,
        "no-output-native": true,
        "no-output-on-prefix": true,
    
    François Agneray's avatar
    François Agneray committed
        "no-output-rename": true,
    
        "no-outputs-metadata-property": true,
        "template-banana-in-box": true,
        "template-no-negated-async": true,
        "use-lifecycle-interface": true,
        "use-pipe-transform-interface": true
      },
      "rulesDirectory": [
        "codelyzer"
      ]
    }