Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Maven plugin for .editorconfig enforcement

License

NotificationsYou must be signed in to change notification settings

editorconfig/editorconfig-maven-plugin

Repository files navigation

Official maven plugin for enforcement of rules defined in the.editorconfig files.

Example of plugin usage can be seen below. The configuration settings and plugin goal will be explained in the sections below:

<plugin>    <groupId>org.editorconfig</groupId>    <artifactId>editorconfig-maven-plugin</artifactId>    <version>1.0.0-alpha1</version>    <executions>        <execution>            <goals>                <goal>check</goal>            </goals>            <phase>compile</phase>        </execution>        <configuration>            <rootEditorConfigFileLocation>.editorconfig</rootEditorConfigFileLocation>        </configuration>    </executions></plugin>

The latest version of the plugin can be looked up inMaven Central

Available Goals

Currently, the plugin has the following Maven goals available:

GoalDefault PhaseDescription
checkvalidateThis goal checks (by default) all the files in the project for compliance with rules, defined in the appropriate.editorconfig

Configuration Parameters

The plugin has several configuration parameters

ParameterDescriptionDefault Value
rootEditorConfigFileLocationThe location of theroot.editorconfig from theyour projects Maven basedirNo default
strictModeWhether or not to run the plugin execution in thestrict mode. The "strict mode" means that error in the.editorconfig file (invalid options or their values, inlaid glob expressions etc)will NOT be ignored and the plugin executionwill fail in case errors in.editorconfig file parsing are mettrue

Supported pairs

This plugin supportsall the key value pairs defined in the officialEditorConfig specification, except for thespelling_language.The reason for that is that this setting is mostly intended for the use of the code editors and IDEs, rather than the build plugins.

About

Maven plugin for .editorconfig enforcement

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp