Comments (3)
For what is worth - I'm planning to write a tool at some point, that automatically enforces the guidelines at some point(like I did for the Ruby style guide with RuboCop). When (if) this would happen, however, I cannot promise given my pretty busy schedule and the multitude of projects I'm involved with.
from kibit.
The Clojure guidelines have moved to http://dev.clojure.org/display/community/Library+Coding+Standards
from kibit.
I've looked at this and have a few thoughts. Because kibit reads source with a clojure reader, it isn't able to 'see' some of the infractions of the style guide as they aren't present in the read form. For example comments, whitespace and commas aren't available when the file has been read. Secondly, some of these style suggestions would be better addressed in eastwood which is a linter, whereas kibit's goal is suggesting more idiomatic ways of expressing a form. Thirdly, some of these suggestions aren't possible to check with Kibit because it reads without macroexpansion or evaluation. Lastly some people disagree with some of the style guide suggestions. Opening kibit up for extension by third party rules in #66 could let people check some of these rules without requiring them to be part of kibit.
All that being said, I think there's some good things in the style guide that might be able to go into Kibit. I'll check through Kibit to see which of these are already there or annotate this list with why I don't think they are appropriate.
from kibit.
Related Issues (20)
- deps.edn / clj support HOT 6
- Faulty suggestions for do in vector HOT 2
- Check failures exit with 0
- Need a possibility for Check failures to return exit code 0 with findings HOT 4
- Release the new version with :repository tag
- Faulty rule for not empty HOT 8
- namespace docstrings break kibit... HOT 8
- Kibit evaluates and runs code it parses with no option to disable it HOT 1
- Kibit chokes on ##NaN, ##Inf, etc. HOT 1
- Kibit blows up on qualified keywords when require has a `:refer` HOT 1
- Using `--replace` removes the namespace qualifier `::`
- Kibit cannot parse namespaces with string requires
- -> and ->> in datomic queries
- Incorrect suggestion when using reducers HOT 1
- Getting conditionals read not allowed error in `cljc` file HOT 2
- Wrong suggestion for `(fn [x] [x x])` HOT 1
- Maintenance Status HOT 6
- Should not suggest eta-reduction for macros HOT 2
- Please Release HOT 4
- Arithmetic advices for expm1 and hypot + others
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 kibit.