tomsun28 opened a new issue, #2556:
URL: https://github.com/apache/hertzbeat/issues/2556

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   spotless-maven-plugin check error when run local maven build test, due we 
has run npm install package in `home`, but the installed package also has the 
md file. 
   
   ```
                       <markdown>
                           <includes>
                               <include>home/**/*.md</include>
                           </includes>
                           <flexmark />
                           <replaceRegex>
                               <name>Markdown Formatter</name>
                               
<searchRegex>(^-*\n$)([\s\S]*?)(-+$)</searchRegex>
                               <replacement>---$2---</replacement>
                           </replaceRegex>
                       </markdown>
   ```
   
   ```
   [ERROR] Failed to execute goal 
com.diffplug.spotless:spotless-maven-plugin:2.40.0:check (spotless-check) on 
project hertzbeat: The following files had format violations:
   [ERROR]     home/node_modules/is-plain-obj/readme.md
   [ERROR]         @@ -4,14 +4,12 @@
   [ERROR]          
   [ERROR]          
An·object·is·plain·if·it's·created·by·either·`{}`,·`new·Object()`,·or·`Object.create(null)`.
   [ERROR]          
   [ERROR]         -
   [ERROR]          ##·Install
   [ERROR]          
   [ERROR]          ```
   [ERROR]          $·npm·install·is-plain-obj
   ```
   how about we use the 
[markdownlint](https://www.npmjs.com/package/markdownlint) in home to instead 
of  `spotless` ? , or the github action markdown lint check? 
https://github.com/DavidAnson/markdownlint @zhangshenghang 
   
   ### Expected Behavior
   
   _No response_
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment
   
   ```markdown
   HertzBeat version(s): master
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to