Comments (1)
awesome! Yes this would be very much appreciated. Also it would be great if this worked both with @("nolint(...)")
as well as @nolint("...")
(for future compatibility or big projects that declare this)
We had the idea before that dub packages could provide files that are always implicitly imported by the compiler, such as object
is already, which could provide exactly UDA definitions like this and help the compiler statically check for wrongly used attributes. However these UDA files will still need compiler flag support, which wasn't merged yet / didn't have a compelling use-case yet.
from d-scanner.
Related Issues (20)
- Warn about negating unsigned (uint/ulong etc)
- Warn about accessing private members in documented `unittest`s HOT 3
- Static array expressions not fully supported HOT 1
- dscanner should pass its own style check HOT 1
- Warn about functions that are `@disable` but have an function body
- Trying to build using Ubuntu 20.04 packages HOT 6
- [warning] first.d:visit Could not resolve location of module ... HOT 4
- wrongful label_var_same_name_check
- Interactive fix is not working for me HOT 4
- Support additional themes for HTML highlighting HOT 1
- Support `alias this = _base;`
- use dscanner to replace phobos style_lint_shellcmds
- add warnings for known useless / avoidable memory-allocations (especially in phobos) HOT 1
- Support for compilation database HOT 1
- AssertError on style check HOT 1
- Respect `excludedSourceFiles` when scanning sources HOT 5
- label_var_same_name triggered for non-static members in static functions HOT 1
- dscanner.ini settings get ignored when adding ModuleFilters
- Warn when not accessing member variable through `this`
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 d-scanner.