main

mattermost/focalboard

Last updated at: 29/12/2023 09:40

tslint.json

TLDR

This file is a configuration file for TSLint, a static analysis tool for TypeScript. It extends the recommended TSLint rules and sets certain rules to true or false based on project requirements.

Methods (if applicable)

N/A

Classes (if applicable)

N/A

{
	"extends": "tslint:recommended",
	"rules": {
		"new-parens": true,
		"no-arg": true,
		"no-bitwise": true,
		"no-conditional-assignment": true,
		"no-consecutive-blank-lines": true,
		"indent": [false, "tabs"],
		"member-access": [true, "no-public"],
		"semicolon": [true, "never"],
		"variable-name": [
			true,
			"ban-keywords",
			"check-format",
			"allow-pascal-case",
			"allow-leading-underscore"
		],
		"max-line-length": [false, { "limit": 150, "ignore-pattern": "\";?$" }],
		"trailing-comma": false,
		"object-literal-sort-keys": false,
		"member-ordering": false,
		"interface-name": false,
		"arrow-parens": false,
		"no-console": false,
		"align": false
	},
	"jsRules": {
		"max-line-length": {
			"options": [150]
		}
	}
}