File: tslint.json

package info (click to toggle)
golang-golang-x-tools 1%3A0.0~git20161028.0.b814a3b%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch, stretch-backports
  • size: 5,712 kB
  • ctags: 5,861
  • sloc: yacc: 155; sh: 95; makefile: 28; asm: 18; xml: 11; ansic: 10
file content (40 lines) | stat: -rw-r--r-- 1,092 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// This tslint file is based on a configuration used at
// Google.

{
  "rules": {
    "class-name": true,
    "forin": true,
    "interface-name": [true, "never-prefix"],
    "jsdoc-format": true,
    "label-position": true,
    "label-undefined": true,
    "new-parens": true,
    "no-angle-bracket-type-assertion": true,
    "no-construct": true,
    "no-debugger": true,
    "no-namespace": [true, "allow-declarations"],
    "no-reference": true,
    "no-require-imports": true,
    "no-unused-expression": true,
    "no-unused-variable": true,
    "no-use-before-declare": true,
    "no-var-keyword": true,
    "semicolon": [true, "always"],
    "switch-default": true,
    "triple-equals": [true, "allow-null-check"],
    "use-isnan": true,
    "variable-name": [
      true,
      "check-format",
      "ban-keywords",
      "allow-leading-underscore",
      "allow-trailing-underscore",
      "allow-pascal-case"
    ]
  }
}