Comments (5)
I don't think we need yet another style library when we have chefstyle
(for Ruby projects) and cookstyle
(for Cookbooks). Just out of curiosity what happens when you let cookstyle
lint InSpec profiles?
from cookstyle.
/cc @thommay @lamont-granquist @adamleff @tas50
from cookstyle.
Agree with @schisamo that another style library is probably overkill here. If someone were to ask my opinion on it, given that we support users shipping InSpec profiles and standalone controls in cookbooks, I'd encourage them to use cookstyle.
from cookstyle.
Great, I'm just making sure this is the right direction. I've heard people doing pretty well with cookstyle. I'll raise any issues as they come up.
from cookstyle.
Yeah, I would tend to suggest not using chefstyle, since that is probably "crossing the streams" and would result in much unhappiness. If there's rubocop rules in cookstyle which don't apply well to inspec rules, its more likely that cookstyle should get changed to be more compatible. I can't imagine there would be a rule where cookbook-recipe-code-authors would want it one way, but inspec-rule-authors would want it a different way. However, stranger things that what I've imagined were possible have happened -- still this can probably be addressed by rubocop's path-specificity if it does ever come up.
from cookstyle.
Related Issues (20)
- Detect using run_action on the resource block to force compile_time
- Avoid ternary operator in properties HOT 1
- Alert on more uses of mixlib::shellout
- Resource property descriptions shouldn't end with a space
- Don't set empty property descriptions
- remote_file: using a not_if to check if the file doesnt' already exist HOT 1
- Detect single line do/end style blocks
- Detect the usage of chef-sugar
- Conditional use of `unified_mode true` needs to warn HOT 1
- Chef/Modernize/CronDFileOrTemplate fails to flag matching resources that use string interpolation HOT 1
- Chef/Deprecations/Delivery triggers without dot-delivery directory existing HOT 5
- Chef/Modernize/CronDFileOrTemplate fails to match when the path property is used to provide the file path
- Chef/Modernize/CronDFileOrTemplate matches on /etc/cron.deny HOT 2
- Chef/Modernize/CronDFileOrTemplate triggers on cron.daily
- Error: unrecognized cop or department {{cop}} found in {{global vanilla rubocop config}}
- Chef/Modernize/CronDFileOrTemplate causes RuboCop error on non-cron file resources HOT 1
- Chef/Correctness/LazyEvalNodeAttributeDefaults does not detect nested attributes
- RuboCop URL in README uses http://rubocop.org
- Cookstyle configuration "streams" HOT 1
- Warning: AllCops does not support TargetChefVersion parameter 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 cookstyle.