Showing 47 of 264 total issues
File office-ui-fabric-react_vx.x.x.js
has 4365 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flow-typed signature: 8fe4de24b96d1a79c9580c06badf8774
// flow-typed version: <<STUB>>/office-ui-fabric-react_v^1.9.1/flow_v0.43.1
/**
* This is an autogenerated libdef stub for:
File eslint_vx.x.x.js
has 1947 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flow-typed signature: 67107edacbda29c147b24c9b0d8966e6
// flow-typed version: <<STUB>>/eslint_v^3.8.1/flow_v0.45.0
/**
* This is an autogenerated libdef stub for:
File eslint-plugin-jsx-a11y_vx.x.x.js
has 1191 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flow-typed signature: e364416a275e86073351f1da7f829749
// flow-typed version: <<STUB>>/eslint-plugin-jsx-a11y_v^4.0.0/flow_v0.45.0
/**
* This is an autogenerated libdef stub for:
File c3_vx.x.x.js
has 783 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flow-typed signature: f8b8acbaeb1d6d64e5ea7c0f6d5da59b
// flow-typed version: <<STUB>>/c3_v^0.4.11/flow_v0.45.0
/**
* This is an autogenerated libdef stub for:
File stopwords.id.js
has 764 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
export default `
ada
adalah
adanya
adapun
File stopwords.en.js
has 666 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
export default `
a
able
about
above
File lodash_v4.x.x.js
has 456 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flow-typed signature: 53b581d81115b53eaf3a74ae963c4f43
// flow-typed version: ba3c3d2dca/lodash_v4.x.x/flow_>=v0.38.x <=v0.46.x
declare module 'lodash' {
declare type TemplateSettings = {
File reactstrap_vx.x.x.js
has 441 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flow-typed signature: 27566c11c717a726f291b15f980cfee5
// flow-typed version: <<STUB>>/reactstrap_v^4.6.1/flow_v0.45.0
/**
* This is an autogenerated libdef stub for:
File eslint-plugin-react_vx.x.x.js
has 411 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flow-typed signature: cfee25e961d54fbe67843958c9898e14
// flow-typed version: <<STUB>>/eslint-plugin-react_v^6.4.1/flow_v0.45.0
/**
* This is an autogenerated libdef stub for:
File react-router_vx.x.x.js
has 411 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flow-typed signature: a576c2db8b3450ad3bee1f6e592d55aa
// flow-typed version: <<STUB>>/react-router_v^3.0.2/flow_v0.45.0
/**
* This is an autogenerated libdef stub for:
File store_vx.x.x.js
has 315 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flow-typed signature: eabf4cba2336c7765b9b158f38b153c3
// flow-typed version: <<STUB>>/store_v^2.0.4/flow_v0.45.0
/**
* This is an autogenerated libdef stub for:
Function GroupPost
has 81 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const GroupPost = (props: Post) => {
const {
created_time,
message,
description,
Function render
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { list, ChildNode, hideNavigationOnSinglePage, perPage, Wrapper } = this.props;
const { page } = this.state;
// handle default props
Function render
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { feeds, members, comments, data, onFormChange } = this.props;
const metric: TimeRangeMetric = timeRangeMetricer(data.dateStart, data.dateEnd, feeds, members, comments);
const metrics: TimeRangeMetric[] = metric.getTimeSeries(data.granularity);
Function render
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { posts, members, comments, profile, data, onFormChange } = this.props;
const userId = profile.facebookId;
File eslint-plugin-import_vx.x.x.js
has 261 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flow-typed signature: 6041763c941b76e4d94e8afd85d1d7e1
// flow-typed version: <<STUB>>/eslint-plugin-import_v^2.0.1/flow_v0.45.0
/**
* This is an autogenerated libdef stub for:
File eslint-plugin-flowtype_vx.x.x.js
has 261 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// flow-typed signature: 8dd4c4babf4a260e87a327b8912cf1a9
// flow-typed version: <<STUB>>/eslint-plugin-flowtype_v^2.21.0/flow_v0.45.0
/**
* This is an autogenerated libdef stub for:
Function calculate
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const calculate = (type: PieType, metric: TimeRangeMetric): { key: string, value: number }[] => {
switch (type) {
case PieTypes.POSTS_PERDAY:
return metric.postsMetric.postsByDays().map(pos => ({ key: pos.day, value: pos.postsMetric.totalPosts() }));
case PieTypes.POSTS_PERHOUR:
Function render
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { metric, type } = this.props;
return (
<Card title={generateTitle(type).title}>
Function render
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const { members, posts, comments, data, onFormChange } = this.props;
const metric = usersMetricer(members, posts, comments);