Skip to content

Instantly share code, notes, and snippets.

@basicdays
Created October 9, 2018 15:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save basicdays/b599c69350bb6a3f1b9ee03ae1ef181e to your computer and use it in GitHub Desktop.
Save basicdays/b599c69350bb6a3f1b9ee03ae1ef181e to your computer and use it in GitHub Desktop.
Lint output of initial eslint config for chicagojs.org
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/gatsby-node.js
29:18 error Expected to return a value at the end of arrow function consistent-return
38:13 error Use object destructuring prefer-destructuring
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/cms/preview-templates/AboutPagePreview.js
10:3 error propType "entry" is not required, but has no corresponding defaultProp declaration react/require-default-props
13:3 error propType "widgetFor" is not required, but has no corresponding defaultProp declaration react/require-default-props
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/cms/preview-templates/BlogPostPreview.js
15:3 error propType "entry" is not required, but has no corresponding defaultProp declaration react/require-default-props
18:3 error propType "widgetFor" is not required, but has no corresponding defaultProp declaration react/require-default-props
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/cms/preview-templates/ProductPagePreview.js
50:3 error propType "entry" is not required, but has no corresponding defaultProp declaration react/require-default-props
53:3 error propType "getAsset" is not required, but has no corresponding defaultProp declaration react/require-default-props
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/components/Content.js
5:30 warning Dangerous property 'dangerouslySetInnerHTML' found react/no-danger
11:3 error propType "content" is not required, but has no corresponding defaultProp declaration react/require-default-props
12:3 error propType "className" is not required, but has no corresponding defaultProp declaration react/require-default-props
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/components/Features.js
20:3 error propType "gridItems" is not required, but has no corresponding defaultProp declaration react/require-default-props
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/components/Layout.js
4:20 error Useless path segments for "../components/Navbar", should be "./Navbar" import/no-useless-path-segments
7:28 error 'children' is missing in props validation react/prop-types
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/components/Navbar.js
26:36 error The closing bracket must be aligned with the line containing the opening tag (expected column 9 on the next line) react/jsx-closing-bracket-location
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/components/Pricing.js
10:93 error `$` must be placed on a new line react/jsx-one-expression-per-line
10:94 error `{price.price}` must be placed on a new line react/jsx-one-expression-per-line
26:3 error propType "data" is not required, but has no corresponding defaultProp declaration react/require-default-props
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/components/Testimonials.js
12:17 error ` – ` must be placed on a new line react/jsx-one-expression-per-line
12:20 error `{testimonial.author}` must be placed on a new line react/jsx-one-expression-per-line
20:3 error propType "testimonials" is not required, but has no corresponding defaultProp declaration react/require-default-props
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/pages/index.js
3:10 error 'Link' is defined but never used no-unused-vars
4:8 error 'Layout' is defined but never used no-unused-vars
6:16 error Component should be written as a pure function react/prefer-stateless-function
9:20 error 'posts' is assigned a value but never used no-unused-vars
18:11 error The closing bracket must be aligned with the line containing the opening tag (expected column 7 on the next line) react/jsx-closing-bracket-location
27:3 error propType "data" is not required, but has no corresponding defaultProp declaration react/require-default-props
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/pages/tags/index.js
8:3 error 'data' is missing in props validation react/prop-types
26:37 error ` (` must be placed on a new line react/jsx-one-expression-per-line
26:39 error `{tag.totalCount}` must be placed on a new line react/jsx-one-expression-per-line
26:55 error `) ` must be placed on a new line react/jsx-one-expression-per-line
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/templates/about-page.js
28:3 error propType "content" is not required, but has no corresponding defaultProp declaration react/require-default-props
29:3 error propType "contentComponent" is not required, but has no corresponding defaultProp declaration react/require-default-props
43:3 error Prop type `object` is forbidden react/forbid-prop-types
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/templates/blog-post.js
9:76 error 'tags' is missing in props validation react/prop-types
26:30 error Unexpected string concatenation prefer-template
42:3 error propType "contentComponent" is not required, but has no corresponding defaultProp declaration react/require-default-props
43:3 error propType "description" is not required, but has no corresponding defaultProp declaration react/require-default-props
44:3 error propType "title" is not required, but has no corresponding defaultProp declaration react/require-default-props
45:3 error propType "helmet" is not required, but has no corresponding defaultProp declaration react/require-default-props
66:3 error propType "data" is not required, but has no corresponding defaultProp declaration react/require-default-props
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/templates/product-page.js
34:21 error The closing bracket must be aligned with the line containing the opening tag (expected column 17 on the next line) react/jsx-closing-bracket-location
86:3 error propType "image" is not required, but has no corresponding defaultProp declaration react/require-default-props
87:3 error propType "title" is not required, but has no corresponding defaultProp declaration react/require-default-props
88:3 error propType "heading" is not required, but has no corresponding defaultProp declaration react/require-default-props
89:3 error propType "description" is not required, but has no corresponding defaultProp declaration react/require-default-props
90:3 error propType "intro" is not required, but has no corresponding defaultProp declaration react/require-default-props
93:3 error propType "main" is not required, but has no corresponding defaultProp declaration react/require-default-props
100:3 error Prop type `array` is forbidden react/forbid-prop-types
100:3 error propType "testimonials" is not required, but has no corresponding defaultProp declaration react/require-default-props
101:3 error propType "fullImage" is not required, but has no corresponding defaultProp declaration react/require-default-props
102:3 error propType "pricing" is not required, but has no corresponding defaultProp declaration react/require-default-props
130:3 error propType "data" is not required, but has no corresponding defaultProp declaration react/require-default-props
/home/basicdays/Documents/wip/basicdays-consulting/chicagojs.org/src/templates/tags.js
6:1 error Component should be written as a pure function react/prefer-stateless-function
8:19 error Must use destructuring props assignment react/destructuring-assignment
8:30 error 'data' is missing in props validation react/prop-types
8:35 error 'data.allMarkdownRemark' is missing in props validation react/prop-types
8:53 error 'data.allMarkdownRemark.edges' is missing in props validation react/prop-types
16:11 error Use object destructuring prefer-destructuring
16:17 error Must use destructuring props assignment react/destructuring-assignment
16:28 error 'pageContext' is missing in props validation react/prop-types
16:40 error 'pageContext.tag' is missing in props validation react/prop-types
17:11 error Use object destructuring prefer-destructuring
17:19 error Must use destructuring props assignment react/destructuring-assignment
17:35 error 'data.site' is missing in props validation react/prop-types
17:40 error 'data.site.siteMetadata' is missing in props validation react/prop-types
17:53 error 'data.site.siteMetadata.title' is missing in props validation react/prop-types
18:11 error Use object destructuring prefer-destructuring
18:24 error Must use destructuring props assignment react/destructuring-assignment
18:58 error 'data.allMarkdownRemark.totalCount' is missing in props validation react/prop-types
✖ 70 problems (69 errors, 1 warning)
12 errors and 0 warnings potentially fixable with the `--fix` option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment