-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from jh3y/develop
Rework v5.0.0
- Loading branch information
Showing
26 changed files
with
11,784 additions
and
698 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"presets": [ | ||
"es2015" | ||
"es2015", | ||
"stage-2", | ||
"flow" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,85 +1,28 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true | ||
}, | ||
"parserOptions": { | ||
"sourceType": "script", | ||
}, | ||
"plugins": [ | ||
"prettier" | ||
], | ||
"rules": { | ||
# Possible errors | ||
comma-dangle: 2, | ||
no-console: 2, | ||
no-cond-assign: 2, | ||
no-control-regex: 2, | ||
no-debugger: 2, | ||
no-dupe-args: 2, | ||
no-dupe-keys: 2, | ||
no-duplicate-case: 2, | ||
no-empty: 2, | ||
no-empty-character-class: 2, | ||
no-ex-assign: 2, | ||
no-extra-boolean-cast: 2, | ||
no-extra-semi: 2, | ||
no-func-assign: 2, | ||
no-invalid-regexp: 2, | ||
no-irregular-whitespace: 2, | ||
no-negated-in-lhs: 2, | ||
no-obj-calls: 2, | ||
no-proto: 2, | ||
no-unexpected-multiline: 2, | ||
no-unreachable: 2, | ||
use-isnan: 2, | ||
valid-typeof: 2, | ||
valid-jsdoc: 2, | ||
# Best practices | ||
curly: [2, "multi"], | ||
eqeqeq: 2, | ||
no-fallthrough: 2, | ||
no-param-reassign: 2, | ||
no-octal: 2, | ||
no-redeclare: 2, | ||
# strict mode | ||
strict: [2, "global"], | ||
# variables | ||
no-delete-var: 2, | ||
no-undef: 2, | ||
no-unused-vars: 2, | ||
# node | ||
no-mixed-requires: 2, | ||
no-new-require: 2, | ||
# stylistic | ||
brace-style: 2, | ||
camelcase: 2, | ||
comma-style: 2, | ||
comma-spacing: 2, | ||
eol-last: 2, | ||
indent: [2, 2, {SwitchCase: 1}], | ||
keyword-spacing: 2, | ||
max-len: [2, 80, 2], | ||
max-depth: [2, 4], | ||
new-cap: 2, | ||
new-parens: 2, | ||
no-mixed-spaces-and-tabs: 2, | ||
no-multiple-empty-lines: [2, {max: 2}], | ||
no-trailing-spaces: 2, | ||
quotes: [2, "single"], | ||
semi: 2, | ||
space-before-blocks: [2, "always"], | ||
space-before-function-paren: [2, "never"], | ||
space-in-parens: [2, "never"], | ||
space-infix-ops: 2, | ||
space-unary-ops: 2, | ||
# es6 | ||
arrow-parens: [2, "always"], | ||
arrow-spacing: [2, {"before": true, "after": true}], | ||
constructor-super: 2, | ||
no-class-assign: 2, | ||
no-confusing-arrow: 2, | ||
no-const-assign: 2, | ||
no-dupe-class-members: 2, | ||
no-this-before-super: 2, | ||
no-var: 2, | ||
prefer-const: 2, | ||
prefer-rest-params: 2, | ||
template-curly-spacing: 2 | ||
} | ||
"prettier/prettier": ["error", { | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"bracketSpacing": true, | ||
"parser": "flow" | ||
}], | ||
"no-console": 2, | ||
}, | ||
"extends": [ | ||
"prettier", | ||
"prettier/flowtype" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
[ignore] | ||
|
||
[include] | ||
|
||
[libs] | ||
|
||
[lints] | ||
|
||
[options] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
public | ||
.deploy |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
language: node_js | ||
node_js: | ||
- "6" | ||
sudo: false | ||
install: | ||
- yarn | ||
script: | ||
- yarn run flow | ||
- make lint-scripts |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
### Issue summary | ||
|
||
### Expected behavior | ||
|
||
### Actual behavior | ||
|
||
### Browser used | ||
|
||
### Steps to reproduce |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Fixes # || Adds new feature X | ||
|
||
Changes include; | ||
* a | ||
* b | ||
* c | ||
|
||
* [ ] Passes tests (`linting`, `flow`) | ||
* [ ] Code is `prettier` |
Oops, something went wrong.