Comments (2)
--format will handle just formatting rules but not really change the code, whereas --fix can handle more complex fixes, like remove a duplicate import for example :)
About the rulesets, npm-groovy-lint code is in javascript so unable to parse a groovy file, so using a codenarc.groovy rule won't work
About unknown rules... npm-groovy-lint is currently in bad shape but is supposed to embed the latest codenarc version, that will happen in the future , mostly thanks to the great efforts of @stevenh (but you are also welcomed to help ^^ )
from npm-groovy-lint.
It seems like reading the groovy file is working just fine and the documentation shows it as supported.
Thanks. I'll just close this for now. We simply commented out the SpockMissingAssert
rule in config/codenarc.groovy
.
from npm-groovy-lint.
Related Issues (20)
- Upgrade logback to 1.4.14 HOT 3
- Groovy4 support? HOT 3
- The console.log statements output in NeoVim formatting HOT 1
- o.c.r.PropertiesFileRuleSetConfigurer -- RuleSet configuration properties file [codenarc.properties] not found. HOT 6
- Wrong lint fix indentation HOT 2
- o.c.r.PropertiesFileRuleSetConfigurer -- RuleSet configuration properties file [codenarc.properties] not found. HOT 4
- proposal: ci improvements HOT 7
- Custom rule HOT 1
- temp directories aren't cleaned up HOT 3
- Error when running as pre-commit hook: SyntaxError: Unexpected token ; HOT 2
- Error with latest version of the docker container when running in GHA HOT 13
- CodeNarcServer unexpected error HOT 11
- Make a warning when enabling non-disabled rule HOT 5
- Critical vulnerabilities with axios package in latest version HOT 4
- Incorrect indentation in blocks and braces HOT 2
- Error running npm-groovy-lint in Docker container: GroovyLint: Unable to start CodeNarc Server. HOT 2
- In case of grouped imports linter returns error NglParseError: unable to find class 'TestGroup.CAN' HOT 2
- CodeNarcServer unexpected error: Parse Error: Invalid status code HOT 8
- bug: Wrong autoformat indentation after complex expressions HOT 3
- bug: Wrong indentation for comments HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-groovy-lint.