@ -10,14 +10,14 @@ directory, or use the ``-c`` option:
.. code :: bash
.. code :: bash
yamllint -c ~/myconfig file.yml
yamllint -c ~/myconfig file.ya ml
Default configuration
Default configuration
---------------------
---------------------
Unless told otherwise, yamllint uses its `` default `` configuration:
Unless told otherwise, yamllint uses its `` default `` configuration:
.. literalinclude :: ../yamllint/conf/default.yml
.. literalinclude :: ../yamllint/conf/default.ya ml
:language: yaml
:language: yaml
Details on rules can be found on :doc: `the rules page <rules>` .
Details on rules can be found on :doc: `the rules page <rules>` .
@ -85,7 +85,7 @@ For instance:
.. code :: bash
.. code :: bash
yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" file.yml
yamllint -d "{extends: relaxed, rules: {line-length: {max: 120}}}" file.ya ml
Errors and warnings
Errors and warnings
-------------------
-------------------