Skip to content

Instantly share code, notes, and snippets.

@ssgonchar
ssgonchar / bower.json
Created July 10, 2016 21:17
example of bower.json
{
"name": "spaless",
"authors": [
"ssgonchar <fingercrew2@gmail.com>"
],
"description": "",
"main": "",
"license": "MIT",
"homepage": "",
"ignore": [
@ssgonchar
ssgonchar / installer_.stylelintrc
Created April 19, 2016 11:15
Install and run: jshint, jslint, jscs, stylehint, htmlhint.
{
"rules": {
"at-rule-empty-line-before": "always"|"never",
"at-rule-name-case": "lower"|"upper",
"at-rule-no-vendor-prefix": true,
"at-rule-semicolon-newline-after": "always",
"block-closing-brace-newline-after": "always"|"always-single-line"|"never-single-line"|"always-multi-line"|"never-multi-line",
"block-closing-brace-newline-before": "always"|"always-multi-line"|"never-multi-line",
"block-closing-brace-space-after": "always"|"always-single-line"|"never-single-line"|"always-multi-line"|"never-multi-line",
"block-closing-brace-space-before": "always"|"never"|"always-single-line"|"never-single-line"|"always-multi-line"|"never-multi-line",
@ssgonchar
ssgonchar / gulpfile.js
Created April 19, 2016 10:13
Gulpfile with linter pipes
var fs = require('fs');
var path = require('path');
var gulp = require('gulp');
var plugins = require('gulp-load-plugins')(); // Load all gulp plugins
// automatically and attach
// them to the `plugins` object
var runSequence = require('run-sequence'); // Temporary solution until gulp 4
// https://github.com/gulpjs/gulp/issues/355
// one: passes up the error from two()
function one(cb){
two(function(err, data){
if(err) return cb('one ' + err);
return cb(null, data);
});
}
// two: passes up the error from three()
function two(cb){
@ssgonchar
ssgonchar / app.html
Created January 27, 2016 07:58 — forked from addyosmani/app.html
App
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Backbone.js • TodoMVC</title>
<link rel="stylesheet" href="../../assets/base.css">
<!--[if IE]>
<script src="../../assets/ie.js"></script>
<![endif]-->