This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = 10; | |
console.log(this.a); //will print 10 | |
function inside() { | |
var a = 20; | |
console.log(this.a); //will print 20 | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Node ### | |
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
# Runtime data | |
pids | |
*.pid | |
*.seed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs | |
# editorconfig.org | |
root = true | |
[*] | |
indent_style = space | |
indent_size = 2 | |
# We recommend you to keep these unchanged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ---------------------------------------------------------------------- | |
# Allow concatenation from within specific js and css files | |
# ---------------------------------------------------------------------- | |
# e.g. Inside of script.combined.js you could have | |
# <!--#include file="libs/jquery-1.5.0.min.js"--> | |
# <!--#include file="plugins/jquery.idletimer.js"--> | |
# and they would be included into this single file. | |
# This is not in use in the boilerplate as it stands. You may |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- repo: https://github.com/pre-commit/pre-commit-hooks | |
sha: 5bf6c09bfa1297d3692cadd621ef95f1284e33c0 | |
hooks: | |
- id: trailing-whitespace | |
- id: check-json | |
- id: pretty-format-json | |
args: | |
- --indent | |
- '2' | |
- --no-sort-keys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": "stylelint-config-standard", | |
"rules": { | |
"indentation": 2, | |
"string-quotes": "double", | |
"no-duplicate-selectors": true, | |
"color-hex-case": "lower", | |
"color-hex-length": "short", | |
"color-named": "never", | |
"selector-no-id": true, |