Skip to content

Java Library to check files for compliance with .editorconfig definitions

License

Notifications You must be signed in to change notification settings

jensgerdes/editorconfig-validator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

.editorconfig Validator

Build Status Coverage Status Maven Central MIT License

Java-Library to validate that a file complies with the rules defined in .editorconfig. Please note, that this project is under development and may not be READY FOR PRODUCTION!

For information on EditorConfig in general, see their website.

  • Checks for

    • Usage of correct Charset
    • Line ending (CR, LF, CRLF)
    • File indentation (SPACE, TAB) with defined size
    • Final newlines
    • Trim trailing whitespace
  • Missing checks: none

Supported styles

  • Supports configuration inheritance.
  • Supported styles:
    • indent_size
      • value "tab" means: set the number of spaces to tab_width if available otherwise use IDE default
    • indent_width
    • end_of_line
    • charset
    • trim_trailing_whitespace
    • insert_final_newline

License

About

Java Library to check files for compliance with .editorconfig definitions

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages