Comments (4)
I was going to submit alike issue but saw it already exist. Not sure my team will like marking every member of interface as "override". Opting out interfaces will be really great.
from tslint-override.
I think this can be implemented by adding the following line here or something similar.
if (clause.token === ts.SyntaxKind.ImplementsKeyword) continue;
Of course this feature needs a config flag (exclude-implements
or exclude-interfaces
sounds right) and some tests in test/test.ts
and test/spec.ts.lint
.
Feel free to submit a PR.
from tslint-override.
will do) Thank you!
from tslint-override.
Available since v0.3.0 behind the exclude-interfaces
option thanks to @stasberkov 👍
from tslint-override.
Related Issues (20)
- Separate rules for 'check-overrides' and 'explicit-overrides' HOT 2
- Confusing `exclude-interfaces` behaviour HOT 4
- Add support for changing the casing of the decorator for use in the fixer HOT 3
- Rule warns on overloads, and "fixes" overloads to make an *actual* error HOT 1
- Add an option to add a new line after jsDoc style fixes HOT 2
- Support of Project Reference HOT 1
- Replace tslint with typescript-eslint ? HOT 2
- Allow opting out variables HOT 1
- The override decorator is required on anonymous classes, even though they're invalid HOT 2
- Add a "@final" rule? HOT 1
- "new-line-after-decorators-and-tags" not working HOT 2
- Angular like syntax - @Override() HOT 2
- Improve fixers
- `window` cannot be found inside of Web Workers HOT 1
- Ignore methods with 'super' HOT 1
- Support decorator syntax
- Allow opting out of certain function names HOT 1
- Add license
- npm install does not install rules directory HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tslint-override.