@ephox/tslint-rules

1.1.1 • Public • Published

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": []
}

Readme

Keywords

none

Package Sidebar

Install

npm i @ephox/tslint-rules

Weekly Downloads

13

Version

1.1.1

License

Apache-2.0

Unpacked Size

25 kB

Total Files

31

Last publish

Collaborators

  • ephox
  • tinymce