Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  package.json
  index.js
  README.md
  tsconfig.json
  tslint.json
Size: Mime:
  README.md

@skava/tslint

preset for tslint config

Changelog

1.4.0

  • tslint - version 1.4.0 SKB2B-524

  • finalize tslint config
  • add missing deps
  • update deps

Learn More

Updated

// many times types come for free
"arrow-parens": true,


// overriding maps is hard to dev with this
// "adjacent-overload-signatures": true,
// ordering by abc is ugly
// "object-literal-sort-keys": true,

// doesn't work with aliases
"no-implicit-dependencies": [true, "dev"],

TODO

    // enforces `public` `private` `protected`
    "member-access": {
      "severity": "warning",
      "options": ["check-accessor", "check-parameter-property"]
    },
    "member-ordering": {
      "options": {
        "order": "statics-first"
      }
    },
    // sometimes we want these, will extend this
    // "ban-types": {
    //   "options": [
    //     ["Object", "Avoid using the `Object` type. Did you mean `object`?"],
    //     ["Function", "Avoid using the `Function` type. Prefer a specific function type, like `() => void`."],
    //     ["Boolean", "Avoid using the `Boolean` type. Did you mean `boolean`?"],
    //     ["Number", "Avoid using the `Number` type. Did you mean `number`?"],
    //     ["String", "Avoid using the `String` type. Did you mean `string`?"],
    //     ["Symbol", "Avoid using the `Symbol` type. Did you mean `symbol`?"],
    //   ],
    // },