Glavin001 / tslint-clean-code

TSLint rules for enforcing Clean Code
https://www.npmjs.com/package/tslint-clean-code
MIT License
169 stars 15 forks source link

Interface should not start with I but tslint warning #73

Closed JackKenney closed 4 years ago

JackKenney commented 4 years ago

On p. 24 of Clean Code, the author discusses that interfaces don't need to start with a capital I, and can just be the name without the I prefix, but the tslint rule isn't overwritten everywhere in this codebase so it persists. interface-name: false should be the standard.

JackKenney commented 4 years ago

I had

"extends": [
        "tslint:recommended",
        "tslint-clean-code"
    ],

in my tslint.json but it should just be

"extends": [
        "tslint-clean-code"
    ],