If there is no configuration file in this new version, Phanalist will ask you if you want to create this missing configuration file. This configuration file is named phanalist.yaml
and will be made in the working directory.
When running Phanalist with a configuration file already created, it will be parsed at runtime and use the information inside.
Phanalist.yaml
- The
src
field is where your code is located. - The
storage
field is where the in-memory database should store the file information. - The
disable
field is if you want to disable 1 of the rules.
src: ./src
storage: /tmp/phanalist
disable:
- DUMMY_ERROR