Skip to main content

atmos validate editorconfig

purpose

Use this command to validate files against the rules defined in .editorconfig file.

atmos validate editorconfig --help

Usage​

Execute the validate editorconfig command like this:

atmos validate editorconfig

This command validates files against the formatting rules defined in your .editorconfig file.

tip

Run atmos validate editorconfig --help to see all the available options

Examples​

atmos validate editorconfig
atmos validate editorconfig --logs-level trace
atmos validate editorconfig --no-color
atmos validate editorconfig --dry-run

Flags​

FlagDescriptionAliasRequired
--config stringPath to the configuration fileno
--disable-end-of-lineDisable end-of-line check (default "false")no
--disable-indent-sizeDisable indent size check (default "false")no
--disable-indentationDisable indentation check (default "false")no
--disable-insert-final-newlineDisable final newline check (default "false")no
--disable-max-line-lengthDisable max line length check (default "false")no
--disable-trim-trailing-whitespaceDisable trailing whitespace check (default "false")no
--dry-runShow which files would be checked (default "false")no
--exclude stringRegex to exclude files from checkingno
--format stringSpecify the output format: default, gcc (default "default")no
--helphelp for editorconfig (default "false")no
--ignore-defaultsIgnore default excludes (default "false")no
--initcreates an initial configuration (default "false")no
--no-colorDon't print colors (default "false")no
--versionPrint the version number (default "false")no