Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ephox/tslint-rules

ephox94Apache-2.01.1.1TypeScript support: included

General tslint rules

readme

Description

This is the base rules for tslint that we can share between projects and then override if we need to on a project basis.

Install from npm

npm install @ephox/tslint-rules.

Example of a local project tslint.json

{
    "defaultSeverity": "error",
    "extends": ["@ephox/tslint-rules/tslint.json"],
    "jsRules": {},
    "rules": {
      "prefer-for-of": false,
      "no-shadowed-variable": false,
      "one-variable-per-declaration": false,
      "max-line-length": false,
      "no-empty": false,
      "no-conditional-assignment": false,
      "variable-name": false,
      "no-bitwise": false,
      "forin": false
    },
    "rulesDirectory": []
}