|Language||HAML / Ruby|
To start using HAML-Lint, enable it in repository setting.
If you need additional configuration, write
sideci.yml and add to your repository.
Configuration via sideci.yml
Example settings for HAML-Lint under
linter: haml_lint: options: include_linter: - EmptyScript - LineLength - MultilinePipe exclude_linter: - TagName config: 'my-haml-lint-conf.yml' file: '**/*haml' exclude: - 'app/views/layouts/application.html.haml'
This option controls command line options given to
This option controls which linters you include to analysis object. You should put it as an Array. The specified Array will be passed to the parameter as a comma separated string.
This option controls which linters you exclude from analysis object. You should put it as an Array. The specified Array will be passed to the parameter as a comma separated string.
This option controls configuration file of HAML-Lint in analyzing. You should put it as a String. Use this when you use your own configuration file of HAML-Lint.
This option controls which files SideCI analyzes. You should put it as a String.
It passes as a parameter when HAML-Lint is executed. If you don't write it in sideci.yml, SideCI passes
. as a parameter.
This option controls which files SideCI excludes in analyzing. You should put it as an Array. You are able to declare files or directories.
Please check the following for more details on the execution parameters.
HAML-Lint#Command Line Flags