Skip to content

Instantly share code, notes, and snippets.

@noru
Created January 3, 2019 11:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save noru/1e62c21e7bc78fa303739d3ff9e01f20 to your computer and use it in GitHub Desktop.
Save noru/1e62c21e7bc78fa303739d3ff9e01f20 to your computer and use it in GitHub Desktop.
my tslint.json
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"allow-trailing-underscore",
"allow-pascal-case",
"ban-keywords"
],
"semicolon": [true, "never"],
"arrow-parens": false,
"quotemark": [true, "single", "jsx-double"],
"eofline": false,
"ordered-imports": false,
"prefer-const": false,
"trailing-comma": false,
"no-unused-expression": false,
"interface-name": false,
"forin": false,
"object-literal-sort-keys": false,
"no-string-literal": false,
"no-console": [
"log"
],
"no-bitwise": false,
"one-variable-per-declaration": false,
"indent": [true, "spaces", 2]
},
"rules": {
"variable-name": [
true,
"check-format",
"allow-leading-underscore",
"allow-trailing-underscore",
"allow-pascal-case",
"ban-keywords"
],
"semicolon": [true, "never"],
"arrow-parens": false,
"quotemark": [true, "single", "jsx-double"],
"member-access": [true, "no-public"],
"eofline": false,
"ordered-imports": false,
"prefer-const": false,
"no-unused-expression": false,
"interface-name": false,
"forin": false,
"object-literal-sort-keys": false,
"no-string-literal": false,
"no-var-requires": false,
"no-console": [
true,
"log"
],
"no-reference": false,
"no-bitwise": false,
"one-variable-per-declaration": false,
"trailing-comma": [true, {"multiline": "always", "singleline": "ignore"}],
"curly": [true, "ignore-same-line"],
"indent": [true, "spaces", 2],
"typedef-whitespace": false,
"new-parens": false
},
"rulesDirectory": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment