Skip to content

Instantly share code, notes, and snippets.

@cport1
Created September 7, 2017 19:13
Show Gist options
  • Save cport1/35983e8008072280702d7708cbea72d8 to your computer and use it in GitHub Desktop.
Save cport1/35983e8008072280702d7708cbea72d8 to your computer and use it in GitHub Desktop.
{
"lintOptions": {
"typeCheck": true
},
"rulesDirectory": "src/rules",
"rules": {
"max-line-length": [
true,
100
],
"dot-notation": [
true,
{ "allow-pattern": "^[a-z]+(_[a-z]+)+$" }
],
"no-any": true,
"no-inferrable-types": true,
"class-name": true,
"comment-format": [
true,
"check-space"
],
"indent": [
true,
"spaces"
],
"eofline": true,
"no-duplicate-variable": true,
"no-eval": true,
"no-arg": true,
"no-internal-module": true,
"no-trailing-whitespace": true,
"no-bitwise": true,
"no-unused-expression": true,
"no-unused-variable": true,
"no-var-keyword": true,
"one-line": [
true,
"check-catch",
"check-else",
"check-open-brace",
"check-whitespace"
],
"quotemark": [
true,
"single",
"avoid-escape"
],
"semicolon": [
true,
"always"
],
"typedef-whitespace": [
true,
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
}
],
"curly": true,
"variable-name": [
true,
"ban-keywords",
"check-format",
"allow-leading-underscore",
"allow-pascal-case"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment