Skip to content

Commit

Permalink
Merge pull request #36 from adzialocha/chore/housekeeping
Browse files Browse the repository at this point in the history
Chore: Housekeeping
  • Loading branch information
adzialocha authored Jan 25, 2019
2 parents edc7a4c + 325b6d1 commit 58c42d4
Show file tree
Hide file tree
Showing 139 changed files with 11,733 additions and 11,355 deletions.
13 changes: 9 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"presets": [
"es2015",
"stage-0",
"react"
[
"@babel/preset-env",
{
"useBuiltIns": "usage"
}
],
"@babel/preset-react"
],
"plugins": [
"add-module-exports",
"transform-inline-environment-variables"
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread"
]
}
2 changes: 2 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
> 1%
last 4 versions
52 changes: 34 additions & 18 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,33 +1,28 @@
{
"env": {
"browser": true,
"node": true
"node": true,
"es6": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": false,
"jsx": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": false,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true
"jsx": true
}
},
"plugins": [
"react"
],
"settings": {
"react": {
"version": "detect"
}
},
"rules": {
"arrow-parens": [
"error",
"as-needed"
],
"block-scoped-var": 2,
"brace-style": [
2,
Expand Down Expand Up @@ -219,7 +214,6 @@
],
"react/jsx-no-duplicate-props": 2,
"react/jsx-no-undef": 2,
"react/jsx-sort-prop-types": 0,
"react/jsx-sort-props": [
2,
{
Expand All @@ -238,8 +232,12 @@
"react/jsx-uses-vars": 2,
"react/jsx-wrap-multilines": 2,
"react/no-did-mount-set-state": 2,
"react/sort-prop-types": 2,
"react/no-did-update-set-state": 2,
"react/boolean-prop-naming": 2,
"react/no-multi-comp": 2,
"react/no-string-refs": 2,
"react/no-deprecated": 2,
"react/no-unknown-property": 2,
"react/no-unused-prop-types": 1,
"react/prop-types": 2,
Expand Down Expand Up @@ -289,6 +287,24 @@
}
],
"space-before-blocks": 2,
"lines-around-comment": [
"error",
{
"beforeBlockComment": true,
"allowBlockStart": true,
"allowArrayStart": false,
"allowArrayEnd": false,
"afterLineComment": false,
"beforeLineComment": true
}
],
"capitalized-comments": [
"error",
"always",
{
"ignoreConsecutiveComments": true
}
],
"space-before-function-paren": [
2,
"never"
Expand Down
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,5 @@ node_modules

# local
.env
public

# development
.tmp
npm-debug.log
static
webpack-assets.json
5 changes: 5 additions & 0 deletions .postcssrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"plugins": {
"autoprefixer": {}
}
}
Loading

0 comments on commit 58c42d4

Please sign in to comment.