Skip to content

Instantly share code, notes, and snippets.

View tomitrescak's full-sized avatar
🏠
Working from home

Tomas Trescak tomitrescak

🏠
Working from home
View GitHub Profile
@tomitrescak
tomitrescak / atom-style.less
Created May 19, 2016 07:58
Atom font styles
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
@tomitrescak
tomitrescak / custom.d.ts
Last active May 19, 2016 01:14
Global ambient typings for Meteor development
///////////////////////////////////////////////////////////////
// Node.js //
///////////////////////////////////////////////////////////////
declare var module: any;
declare function require(mod: string): any;
///////////////////////////////////////////////////////////////
// react-router //
///////////////////////////////////////////////////////////////
@tomitrescak
tomitrescak / .jsbeautifyrc
Last active May 19, 2016 00:09
Js Beautify configuration for Atom
{
"typescript": {
"indent_size": 2,
"indent_char": " ",
"indent_level": 0,
"indent_with_tabs": false,
"preserve_newlines": true,
"max_preserve_newlines": 2,
"jslint_happy": true
},
@tomitrescak
tomitrescak / tsconfig.json
Created May 18, 2016 23:15
TsConfig with classic module resolution, depending on global typings
{
"compileOnSave": true,
"compilerOptions": {
"target": "es6",
"module": "es6",
"declaration": false,
"noImplicitAny": true,
"removeComments": false,
"noLib": false,
"preserveConstEnums": true,
@tomitrescak
tomitrescak / .eslintrc
Created May 18, 2016 23:13
Eslint config, optimised for Mantra
{
"env": {
"es6": true,
"browser": true,
"node": true
},
"parser": "babel-eslint",
"rules": {
@tomitrescak
tomitrescak / tslint.json
Created May 18, 2016 23:09
Tslint config for Meteor projects
{
"rules": {
"class-name": true,
"comment-format": [true, "check-space"],
"curly": true,
"eofline": true,
"forin": false,
"indent": [true, "spaces"],
"label-position": true,
"label-undefined": true,
@tomitrescak
tomitrescak / meteor.d.ts
Created March 2, 2016 23:14
Typescript definition for Meteor 1.3
// Type definitions for Meteor 1.3
// Project: http://www.meteor.com/
// Definitions by: Dave Allen <https://github.com/fullflavedave>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/**
* These are the common (for client and server) modules and interfaces that can't be automatically generated from the Meteor data.js file
*/
interface EJSONable {