{
	"defaultSeverity": "error",
	"extends": [
		"tslint:recommended",
		"tslint-eslint-rules"
	],
	"rules": {
		"no-console": [true, "time", "timeEnd", "trace"],
		"triple-equals": true,
		"prefer-object-spread": true,
		"no-empty": false,
		"no-arg": true,
		"radix": true,

		// code style
		"class-name": true,
		"interface-name": [true, "always-prefix"],
		"variable-name": [true, "ban-keywords", "check-format"],
		"semicolon": [true, "always"],
		"indent": [true, "tabs", 4],
		"quotemark": [true, "single"],
		"space-before-function-paren": [true, {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
		"array-type": [true, "array"],
		"object-literal-sort-keys": false,
		"object-curly-spacing": [true, "always"],
		"trailing-comma": false,
		"curly": true,

		// ts / es6
		"await-promise": true,
		"prefer-const": true,
		"prefer-readonly": true,
		"arrow-return-shorthand": true,
		"no-angle-bracket-type-assertion": true,
		"prefer-for-of": true,
		"callable-types": false,

		// file layout
		"no-require-imports": true,
		"member-access": true,
		"member-ordering": false,

		// code readability
		"no-namespace": true,
		"no-reference": true,
		"no-consecutive-blank-lines": true,
		"no-unnecessary-callback-wrapper": true,
		"no-unnecessary-initializer": false,
		"cyclomatic-complexity": [true, 20],
		"max-file-line-count": [true, 800],
		"max-line-length": [true, 200],

		// unused
		"no-unused-expression": true,
		"no-parameter-reassignment": false,

		// jsdoc
		"jsdoc-format": true,

		// eslint rules
		"no-constant-condition": true,
		"no-duplicate-case": true,
		"no-ex-assign": true,
		"no-extra-boolean-cast": true,
		"no-extra-semi": true,
		"no-inner-declarations": true,
		"no-irregular-whitespace": true,
		"no-multi-spaces": true,
		"no-unexpected-multiline": true,
		"no-sparse-arrays": true,
		"valid-typeof": true,
		"handle-callback-err": true,
		"arrow-body-style": ["error", "always"],
		"arrow-parens": true,
		"prefer-arrow-callback": ["error"],
		"func-call-spacing": ["error", "never"],
		"array-bracket-spacing": ["error", "never"],
		"block-spacing": ["error", "never"],
		"padded-blocks": ["error", "never"],
		"space-in-parens": ["error", "never"]
	},
	"rulesDirectory": []
}