Skip to content

Instantly share code, notes, and snippets.

View alexilyaev's full-sized avatar

Alex Ilyaev alexilyaev

View GitHub Profile
@alexilyaev
alexilyaev / webstorm-plugins.md
Last active January 4, 2017 13:28
WebStorm Plugins
  • .ignore
  • BashSupport
  • Css Alphabetical Rearranger
  • GFM
  • Markdown Support
  • Presentation Assistant
@alexilyaev
alexilyaev / naming-conventions.md
Last active November 5, 2015 22:09
Naming Conventions

CSS

Use dash-cased class names

  • It's consistent with CSS property naming convention
.some-class-name {}
@alexilyaev
alexilyaev / angular-webpack-guidelines.md
Last active August 29, 2015 14:25
Angular Guidelines when using WebPack

No more IIFE

  • WebPack wraps each requireed code with a function, so there's no need to wrap our code with an IIFE
/**
 * Good
 */
@alexilyaev
alexilyaev / test.directive.spec.js
Last active August 29, 2015 14:25
Simple Angular Directive spec boilerplate
describe('test.directive', function () {
'use strict';
var $rootScope;
var $scope;
var $compile;
var preCompiledElement;
var element;
var controller;