This package has been deprecated

Author message:

Package no longer supported. Use at your own risk.

@namics/tslint-config

1.0.2 • Public • Published

Shared tslint config npm

reusable tslint config

Usage

npm i -D tslint @namics/tslint-config

tslint.json

{
  "defaultSeverity": "error",
  "extends": ["@namics/tslint-config"],
  "jsRules": {},
  "rules": {},
  "rulesDirectory": []
}

package.json

  ...
  "scripts": {
    "lint:ts": "tslint 'src/**/*.{ts,tsx}'",
    ...
  },
  ...

Usage with prettier

The tslint-config-prettier npm package disables all conflicting rules that may cause such problems. Prettier takes care of the formatting whereas tslint takes care of all the other things.

npm i -D tslint tslint-config-prettier @namics/tslint-config

tslint.json

{
  "defaultSeverity": "error",
  "extends": ["@namics/tslint-config", "tslint-config-prettier"],
  "jsRules": {},
  "rules": {},
  "rulesDirectory": []
}

package.json

  ...
  "scripts": {
    "lint:ts": "tslint 'src/**/*.{ts,tsx}'",
    ...
  },
  ...

See @namics/tslint-config on unpkg

License

MIT License

/@namics/tslint-config/

    Package Sidebar

    Install

    npm i @namics/tslint-config

    Weekly Downloads

    10

    Version

    1.0.2

    License

    MIT

    Unpacked Size

    10.8 kB

    Total Files

    5

    Last publish

    Collaborators

    • ernscht