Comments (1)
The .jshintrc
we use:
Resource for options: http://jshint.com/docs/options/
{
"camelcase": true,
"curly": true,
"eqeqeq": true,
"freeze": true,
"indent": 2,
"newcap": false,
"quotmark": "single",
"maxdepth": 5,
"maxstatements": 50,
"maxlen": 100,
"eqnull": true,
"funcscope": true,
"strict": true,
"undef": true,
"unused": true,
"node": true,
"mocha": true
}
It is quite strict, but does produce very clean code. If you need any explanations, just ask :)
We also have a .editorconfig
which sublime, atom, etc support.
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
When the user saves the file the editor will parse it with the .editorconfig
options, such as auto-removing trailing whitespace.
from for-the-badge.
Related Issues (20)
- bug: USES BRAINS badge -- img rendering is full-page responsive lol HOT 1
- "Made with Rust" Badge has incorrect dimensions HOT 1
- Where is the database of color similar icons
- [proposal] Ctrl-X | Ctrl-C badge for all the emacs nerds HOT 2
- Badge ideas HOT 1
- Add a badge for Bash and Linux HOT 1
- The "Works on my machine" badge is small HOT 1
- New Badge request HOT 2
- New Badge Request HOT 5
- Dynamically Generating Badges HOT 2
- Please Add Made With Dart 🥺 HOT 2
- New Badge Request HOT 1
- Custom badges do not seem to work. HOT 2
- Using custom icons in the badge HOT 1
- Add badges for MIT and ISC License HOT 2
- Add EICAR Antivirus Test String Badge HOT 1
- Add MADE WITH KOTLIN plz HOT 1
- 3+ panel badge? HOT 1
- Webserver seems down HOT 18
- Web Share API Share button is defaulting on some browsers and removing default shareable actions HOT 17
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 for-the-badge.