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
module.exports = { | |
meta: { | |
docs: { | |
description: 'requires a TODO to be specified either with a task number or URL and a message', | |
category: 'Best Practices', | |
recommended: true | |
}, | |
schema: [] | |
}, |
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
module.exports = { | |
config: { | |
fontSize: 18, | |
fontFamily: 'Roboto Mono, "DejaVu Sans Mono", "Lucida Console", monospace', | |
padding: '12px 14px', | |
}, | |
plugins: [], | |
localPlugins: [ |
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
"############################################################################### | |
"# Bootstrap | |
"############################################################################### | |
" Vim doesn't like fish | |
set shell=/bin/bash | |
" be iMproved, required | |
set nocompatible |
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
import settings from '../settings'; | |
const {routes} = settings; | |
const {basePath} = routes; | |
/* | |
* Route path resolver. | |
* Read routes from the settings file. | |
* | |
* - id: route identifier (or alias) |
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
import React from 'react'; | |
import {render} from 'react-dom'; | |
import configureStore from './configure-store'; | |
import Root from './components/root'; | |
const store = configureStore(); | |
render( | |
<Root store={store} />, | |
document.querySelector('[data-app]') |
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
SyntaxError: /Users/tesla/work/pizza/components/main.js: Unexpected token (24:4) | |
22 | {data.map(({group, links}, i) => ( | |
23 | <LinkGroup key={i}>{group}</LinkGroup> | |
> 24 | {links.map((link, i) => ( | |
| ^ | |
25 | <Link key={i} {...link} /> | |
26 | ))} | |
27 | ))} |
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
FROM nginx | |
MAINTAINER Rafael Rinaldi <rinaldi@work.co> | |
# Copy custom configuration file from the current directory | |
COPY nginx/nginx.conf /etc/nginx/nginx.conf | |
COPY nginx/mime.types /etc/nginx/mime.types | |
COPY nginx/.htpasswd /etc/nginx/.htpasswd |
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
const webpack = require('webpack'); | |
const PORT = process.env.PORT || 3000; | |
module.exports = { | |
devtool: 'eval', | |
entry: [ | |
'babel-polyfill', | |
`webpack-dev-server/client?http://localhost:${PORT}`, | |
'webpack/hot/only-dev-server', |
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
/** | |
* Export helpers to use all available colors. | |
* `color` prefix will fill `color` property, `bg-color` will fill | |
* `background-color`. | |
* | |
* 1. Map with all color names and values (hexa code). | |
* 2. Loop through all colors and export them as classes. | |
**/ | |
$colors: ( // [1] | |
'magenta': $color-magenta, |
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
"############################################################################### | |
"# Bootstrap | |
"############################################################################### | |
" Vim doesn't like fish | |
set shell=/bin/bash | |
" be iMproved, required | |
set nocompatible |