Skip to content

Commit

Permalink
Merge pull request #82 from marzeelabs/80_updates_tweaks
Browse files Browse the repository at this point in the history
#80 Updates and tweaks
  • Loading branch information
nunoveloso authored Jun 26, 2018
2 parents dd73044 + 64cd0ad commit 76e36c3
Show file tree
Hide file tree
Showing 62 changed files with 2,742 additions and 1,709 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
public/
temp/
35 changes: 35 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"extends": "airbnb",

"globals": {
"CMS": true,
"MutationObserver": true,
"document": true,
"name": true,
"window": true
},

"rules": {
"array-bracket-spacing": ["error", "always"],
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }],
"class-methods-use-this": 0,
"global-require": 0,
"jsx-a11y/alt-text": 0,
"no-continue": 0,
"no-param-reassign": 0,
"no-plusplus": 0,
"no-underscore-dangle": 0,
"no-useless-constructor": 0,
"react/jsx-curly-spacing": { "when": "always" },
"react/prop-types": 0,
"wrap-iife": 0
},

"settings": {
"import/resolver": {
"node": {
"paths": ["components"]
}
}
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ yarn-error.log
Thumbs.db
.DS_Store
!.gitkeep
/config.yml
9 changes: 4 additions & 5 deletions components/App.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import React from 'react';
import BesugoComponent from 'Besugo';

import Previews from 'Previews';
Expand All @@ -13,7 +12,7 @@ import PersonCard from 'people/Card';
import Person from 'people/Person';
import BlogPost from 'blog/BlogPost';

const initialized = [
[
Previews,
SVGElements,
TopHeader,
Expand All @@ -25,9 +24,9 @@ const initialized = [
SrcSetBg,
PersonCard,
Person,
BlogPost
].map((Comp) => {
return Comp.initialize();
BlogPost,
].forEach((Comp) => {
Comp.initialize();
});

export default BesugoComponent.build();
Loading

0 comments on commit 76e36c3

Please sign in to comment.