Skip to content

[core] add IDE agnostic configuration with editorconfig.org - editorconfig-maven-plugin#5636

Closed
Pankraz76 wants to merge 1 commit into
pmd:mainfrom
Pankraz76:main-extract-UnusedPrivateMethodRule-editor-plugiin
Closed

[core] add IDE agnostic configuration with editorconfig.org - editorconfig-maven-plugin#5636
Pankraz76 wants to merge 1 commit into
pmd:mainfrom
Pankraz76:main-extract-UnusedPrivateMethodRule-editor-plugiin

Conversation

@Pankraz76

@Pankraz76 Pankraz76 commented Mar 25, 2025

Copy link
Copy Markdown
Contributor

implement IDE agnostic configuration with editorconfig.org - editorconfig-maven-plugin

Autofix: There are .editorconfig violations. You may want to run: mvn editorconfig:format

one time fixable / or ignorable end_of_line issues:

[ERROR] docs/assets/fontawesome-free-5.15.4-web/webfonts/fa-regular-400.woff2@109,21: Replace 'cr' with 'lf' - violates end_of_line = lf, reported by org.ec4j.linters.TextLinter
[ERROR] docs/css/syntax.css@60,68: Insert lf - violates insert_final_newline = true, reported by org.ec4j.linters.TextLinter

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

@Pankraz76

Copy link
Copy Markdown
Contributor Author
[INFO] --- editorconfig:0.1.3:check (default-cli) @ pmd-dist ---
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'pom.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/ant-it/build.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-modelica.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-plsql.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-html.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-visualforce.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-velocity.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-apex.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-javascript.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-xsl.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/sample-ruleset.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-java.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-pom.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-xml.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/rulesets/all-jsp.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/test/resources/sample-source/xml/samplecode.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/main/resources/assemblies/pmd-src.xml'
[WARNING] org.ec4j.linters.XmlLinter expects both indent_style and indent_size to be set for file 'src/main/resources/assemblies/pmd-bin.xml'
[INFO] Checked 49 files
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for PMD 7.12.0-SNAPSHOT:
[INFO] 
[INFO] PMD ................................................ SUCCESS [  0.620 s]
[INFO] PMD Core ........................................... SUCCESS [  0.147 s]
[INFO] PMD Test Schema .................................... SUCCESS [  0.007 s]
[INFO] PMD Ant Integration ................................ SUCCESS [  0.008 s]
[INFO] PMD Test Framework ................................. SUCCESS [  0.008 s]
[INFO] PMD language module testing utilities .............. SUCCESS [  0.009 s]
[INFO] PMD Apex ........................................... SUCCESS [  0.091 s]
[INFO] PMD Coco ........................................... SUCCESS [  0.016 s]
[INFO] PMD C++ ............................................ SUCCESS [  0.014 s]
[INFO] PMD C# ............................................. SUCCESS [  0.012 s]
[INFO] PMD Dart ........................................... SUCCESS [  0.010 s]
[INFO] PMD Fortran ........................................ SUCCESS [  0.006 s]
[INFO] PMD Gherkin ........................................ SUCCESS [  0.011 s]
[INFO] PMD Go ............................................. SUCCESS [  0.013 s]
[INFO] PMD Groovy ......................................... SUCCESS [  0.008 s]
[INFO] PMD HTML ........................................... SUCCESS [  0.022 s]
[INFO] PMD Java ........................................... SUCCESS [  0.373 s]
[INFO] PMD JavaScript ..................................... SUCCESS [  0.047 s]
[INFO] PMD JSP ............................................ SUCCESS [  0.019 s]
[INFO] PMD Julia .......................................... SUCCESS [  0.007 s]
[INFO] PMD Kotlin ......................................... SUCCESS [  0.011 s]
[INFO] PMD Lua ............................................ SUCCESS [  0.006 s]
[INFO] PMD Matlab ......................................... SUCCESS [  0.008 s]
[INFO] PMD Modelica ....................................... SUCCESS [  0.021 s]
[INFO] PMD Objective-C .................................... SUCCESS [  0.006 s]
[INFO] PMD Perl ........................................... SUCCESS [  0.003 s]
[INFO] PMD PHP ............................................ SUCCESS [  0.002 s]
[INFO] PMD PL/SQL ......................................... SUCCESS [  0.080 s]
[INFO] PMD Python ......................................... SUCCESS [  0.006 s]
[INFO] PMD Ruby ........................................... SUCCESS [  0.004 s]
[INFO] PMD Rust ........................................... SUCCESS [  0.004 s]
[INFO] PMD Scala Common Source and Settings ............... SUCCESS [  0.038 s]
[INFO] PMD Scala for Scala 2.13 ........................... SUCCESS [  0.002 s]
[INFO] PMD Swift .......................................... SUCCESS [  0.021 s]
[INFO] PMD TSql ........................................... SUCCESS [  0.006 s]
[INFO] PMD Visualforce .................................... SUCCESS [  0.022 s]
[INFO] PMD Velocity Template Language (VTL) ............... SUCCESS [  0.014 s]
[INFO] PMD XML and XSL .................................... SUCCESS [  0.013 s]
[INFO] PMD Languages Dependencies ......................... SUCCESS [  0.001 s]
[INFO] PMD Documentation Generator (internal) ............. SUCCESS [  0.008 s]
[INFO] PMD Scala for Scala 2.12 ........................... SUCCESS [  0.001 s]
[INFO] PMD CLI ............................................ SUCCESS [  0.014 s]
[INFO] PMD Distribution Packages .......................... SUCCESS [  0.013 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.291 s
[INFO] Finished at: 2025-03-25T10:15:53+01:00
[INFO] ------------------------------------------------------------------------

Process finished with exit code 0

@Pankraz76 Pankraz76 changed the title editorconfig-maven-plugin implement IDE agnostic configuration with editorconfig.org-editorconfig-maven-plugin Mar 25, 2025
@Pankraz76 Pankraz76 changed the title implement IDE agnostic configuration with editorconfig.org-editorconfig-maven-plugin implement IDE agnostic configuration with editorconfig.org - editorconfig-maven-plugin Mar 25, 2025
@github-actions

Copy link
Copy Markdown

Documentation Preview

No regression tested rules have been changed.

@oowekyala oowekyala changed the title implement IDE agnostic configuration with editorconfig.org - editorconfig-maven-plugin [core] add IDE agnostic configuration with editorconfig.org - editorconfig-maven-plugin Apr 1, 2025
@Pankraz76

Copy link
Copy Markdown
Contributor Author

#5635

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant