Comments (3)
Turns out, this was a stupid typo π
Anyway, i improved the highlight ranges of issues that yield a trigger.
I release a new version that fixes this issue and I'll close this issue for now.
from vscode-elixir-credo.
Hey! Uh, that is not supposed to happen π Thanks for pointing out that issue. It would be great if you could send me the output of the command mix credo --format json
in your workspace. Then, I'll probably be able to fix this issue quite quickly.
from vscode-elixir-credo.
Of course! Here's the warning in json
format:
{
"category": "warning",
"check": "Credo.Check.Warning.ApplicationConfigInModuleAttribute",
"column": null,
"column_end": null,
"filename": "lib/web/controllers/stripe_webhook/stripe_webhook_controller.ex",
"line_no": 6,
"message": "Module attribute @webhook_signing_key makes use of unsafe Application configuration call Application.get_env/2",
"priority": 11,
"scope": "Web.StripeWebhookController",
"trigger": "Application.get_env/2"
}
The warning references a module attribute. It looks something like this:
defmodule StripeWebhookController do
@webhook_signing_key Application.get_env(:my_app, :webhook_signing_key)
# ... Other module stuff ...
end
Thank you for having a look at this π
from vscode-elixir-credo.
Related Issues (20)
- Add support for mix credo diff HOT 4
- Add support for project subdirectories HOT 18
- ".credo.exs file does not exist. Ignoring..." (Windows 10) HOT 4
- Error mix credo returned empty output HOT 7
- Linter doesn't show anything in umbrella application on windows 10 HOT 12
- Credo.Check.Refactor.ModuleDependencies breaks analysis HOT 1
- After saving in vscode with this extension enabled, `recompile` in IEx session does not work HOT 2
- ".credo.exs file does not exist. Ignoring..." (warning) HOT 5
- Tag filter options HOT 3
- Doesn't find the right root folder on multi-apps projects HOT 2
- Add a option to only run credo if mix.exs exists HOT 2
- Add config option to disable notification prompts regarding error parsing output
- Can't work with credo v1.6.7 HOT 2
- Extension errors when CMD/CTRL+hovering symbols from other files HOT 1
- Add option to re-lint as a vscode command and not on save
- β.credo.exs file does not existβ in Umbrella project
- β.credo.exs file does not existβ in project located in sub directory
- Pass filename to `--read-from-stdin` option to fix `credo` inconsistency HOT 2
- Wrong errors reported in VSCode HOT 3
- Add support for multiple default .credo.exs locations HOT 2
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 vscode-elixir-credo.