Implementing first draft of FC

This commit is contained in:
Belen Curcio
2017-07-13 12:53:01 -03:00
parent 8d4c0c6721
commit d72df73d6f
11 changed files with 7 additions and 52 deletions
+2 -1
View File
@@ -13,5 +13,6 @@ plugins/*
!plugins/coral-plugin-viewing-options
!plugins/coral-plugin-comment-content
!plugins/talk-plugin-permalink
!plugins/talk-plugin-featured
!plugins/talk-plugin-featured-comments
node_modules
+1 -1
View File
@@ -26,6 +26,6 @@ plugins/*
!plugins/coral-plugin-viewing-options
!plugins/coral-plugin-comment-content
!plugins/talk-plugin-permalink
!plugins/talk-plugin-featured
!plugins/talk-plugin-featured-comments
**/node_modules/*
@@ -1,13 +1,15 @@
import translations from './translations.json';
import FeaturedTag from './components/FeaturedTag';
import FeaturedButton from './components/FeaturedButton';
import FeaturedComments from './components/FeaturedComments';
import Tab from './containers/Tab';
import TabPane from './containers/TabPane';
export default {
translations,
slots: {
commentInfoBar: [FeaturedTag],
commentReactions: [FeaturedButton],
stream: [FeaturedComments]
streamTabs: [Tab],
streamTabPanes: [TabPane]
}
};
@@ -1,14 +0,0 @@
{
"presets": [
"es2015"
],
"plugins": [
"add-module-exports",
"transform-class-properties",
"transform-decorators-legacy",
"transform-object-assign",
"transform-object-rest-spread",
"transform-async-to-generator",
"transform-react-jsx"
]
}
@@ -1,23 +0,0 @@
{
"env": {
"browser": true,
"es6": true,
"mocha": true
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"jsx": true
}
},
"parser": "babel-eslint",
"plugins": [
"react"
],
"rules": {
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"no-console": ["warn", { "allow": ["warn", "error"] }]
}
}
@@ -1,9 +0,0 @@
import Tab from './containers/Tab';
import TabPane from './containers/TabPane';
export default {
slots: {
streamTabs: [Tab],
streamTabPanes: [TabPane],
}
};
-2
View File
@@ -1,2 +0,0 @@
module.exports = {};