5. Default Configuration

You can compile rush with the default configuration built in the binary. Such a binary can then be run without configuration file. However, if a configuration file is present, it takes priority over the built-in configuration.

To compile rush with the built-in configuration, first compile the package as usual. Then, prepare a configuration file, and test it using rush --lint. If the test shows no errors, reconfigure the package, using the ‘--with-default-config’ option:

 
  ./configure --with-default-config=file

where file is the name of your configuration file. Then, recompile and install the package.

You can inspect the built-in configuration using the ‘--show-default’ option:

 
  rush --show-default