Run sobelow using the configuration file

pull/2/head
Doc Ritezel 7 years ago
parent d31bca8ece
commit cb38e679e0
  1. 2
      .sobelow-conf
  2. 4
      README.md
  3. 2
      circle.yml

@ -5,6 +5,6 @@
router: "",
exit: "low",
format: "compact",
ignore: [""],
ignore: ["Config.CSRF", "Vuln.Coherence"],
ignore_files: [""]
]

@ -38,9 +38,11 @@ Configure your local CCMenu with the following url: [`https://circleci.com/gh/po
### Testing
* Build the assets: `$ cd assets && yarn build`
* Run the test suite: `$ mix test`
* Ensure your Elixir code is properly formatted: `$ mix credo --strict`
* Ensure your ES code is properly formatted: `$ cd assets && npm run eslint`
* Ensure your Elixir code has no vulnerabilities: `$ mix sobelow --config`
* Ensure your ES code is properly formatted: `$ cd assets && yarn eslint`
## Internationalization

@ -50,7 +50,7 @@ dependencies:
test:
pre:
- mix credo
- mix sobelow --private --compact --exit Low
- mix sobelow --config
- mix dialyzer --halt-exit-status
- bundle exec license_finder --project-path=. --decisions-file=doc/dependency_decisions.yml
- bundle exec license_finder --project-path=assets --decisions-file=doc/dependency_decisions.yml

Loading…
Cancel
Save