Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-object-rest-spread"
],
"env": {
"test": {
"plugins": [
"dynamic-import-node"
]
}
},
}
61 changes: 61 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
extends:
- airbnb-base
- plugin:import/warnings

env:
jest/globals: true
browser: true
node: true

plugins:
- import
- jest

settings:
import/resolver:
webpack:
config: 'webpack.config.js'

rules:
no-multiple-empty-lines: off
import/no-webpack-loader-syntax: off
import/no-cycle:
- error
- maxDepth: 2
import/order: off
import/no-extraneous-dependencies: off
import/newline-after-import:
- error
- count: 2
padding-line-between-statements:
- error
- blankLine: always
prev: "*"
next: return
- blankLine: always
prev: "*"
next: export
no-param-reassign:
- 2
- props: false
no-console:
- error
- allow:
- warn
- error
object-curly-newline:
- error
- ImportDeclaration:
minProperties: 1
multiline: true
consistent: true
ObjectExpression:
consistent: true
minProperties: 3

parserOptions:
parser: babel-eslint

globals:
inject: false
76 changes: 76 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
#### joe made this: http://goel.io/joe

#####=== Node ===#####

# Logs
logs
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
node_modules

# Debug log from npm
npm-debug.log

#####=== Vim ===#####
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~

#####=== OSX ===#####
.DS_Store
.AppleDouble
.LSOverride

# Icon must end with two \r
Icon


# Thumbnails
._*

# Files that might appear on external disk
.Spotlight-V100
.Trashes

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# IDEA IDE
.idea

# Junit report files
/tests/coverage/

# Docker image building
!/build/config.yml

/mochawesome-report
Loading