💥Violations💥
- best of the best
- error in fun
- exceptionally fun
💥Violations💥
- no env
const bs = require('browser-sync').create(); | |
// Config params (relative to where npm/script is called from): | |
const PORT = 3000; | |
const OUTPUT_DIR = './build'; | |
bs.watch(`${OUTPUT_DIR}/**/*.js`, function (event, file) { | |
bs.reload("*.js"); | |
}) |
var fs = require("fs"); | |
var path = require("path"); | |
// Config params (relative to where npm/script is called from): | |
const APP_BASE = './src'; | |
const ENTRY_FILE = `index.tsx`; | |
const OUTPUT_DIR = './build'; | |
const OUTPUT_FILE = 'app.js'; | |
const IS_DEV = false; | |
const TARGET = 'es2018'; |
// Package main is a sample macOS-app-bundling program to demonstrate how to | |
// automate the process described in this tutorial: | |
// | |
// https://medium.com/@mattholt/packaging-a-go-application-for-macos-f7084b00f6b5 | |
// | |
// Bundling the .app is the first thing it does, and creating the DMG is the | |
// second. Making the DMG is optional, and is only done if you provide | |
// the template DMG file, which you have to create beforehand. | |
// | |
// Example use: |
🏆 646 Contributions in year 2020 | |
📦 Used NaN undefined in GitHub's Storage | |
📜 60 Public Gists | |
🔑 7 Public Keys | |
💼 Opted to Hire |
package main | |
import ( | |
"context" | |
"fmt" | |
"github.com/dictyBase/go-genproto/dictybaseapis/annotation" | |
) | |
func (r *StrainResolver) Phenotypes(ctx context.Context, obj *models.Strain) ([]*models.Phenotype, error) { |
{ | |
"extends": "airbnb-base", | |
"rules": { | |
"quotes": ["error","double"], | |
"semi": ["error","never"], | |
"no-console": ["error", {"allow": ["log"]}], | |
"arrow-body-style": ["error","always"], | |
"arrow-parens": ["error","as-needed"], | |
"class-methods-use-this": ["error", { "exceptMethods": ["_write"]}], | |
"object-curly-newline": ["error", { "multiline": true }] |
{ | |
"name": "minio-promise", | |
"version": "1.0.0", | |
"description": "using minio with promise", | |
"main": "index.js", | |
"scripts": { | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"husky": { | |
"hooks": { |
const Minio = require("minio") | |
const yargs = require("yargs") | |
const bunyan = require("bunyan") | |
const { Writable } = require("stream") | |
const filepath = require("path") | |
const tmp = require("tmp") | |
const argv = yargs // eslint-disable-line | |
.usage("Usage: $0 [options] - list all objects in the given path") | |
.option("host", { |
React javascript framework is currently being used for all development. Below is a list of default tools, setups and configurations that are recommended for development.
Create-react-app - Default tool for scaffolding a web application. The rest of the setup are mostly derived from this tool.
**[Linting with ESLint