diff --git a/.eslintrc.json b/.eslintrc.json index 6a8dfc6..2fde1cf 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -23,6 +23,27 @@ "jest" ], "rules": { + "arrow-parens": [ + "error", + "as-needed" + ], + "arrow-spacing": [ + "error", + { + "before": true, + "after": true + } + ], + "comma-dangle": [ + "error", + { + "objects": "never", + "arrays": "never", + "imports": "never", + "exports": "never", + "functions": "never" + } + ], "indent": [ "error", 2 @@ -31,6 +52,13 @@ "error", "unix" ], + "max-len": [ + "warn", + { + "code": 80 + } + ], + "no-var": "error", "quotes": [ "error", "single" @@ -38,6 +66,18 @@ "semi": [ "error", "always" + ], + "space-before-function-paren": [ + "error", + { + "named": "never", + "anonymous": "never", + "asyncArrow": "always" + } + ], + "template-curly-spacing": [ + "error", + "always" ] }, "settings": { diff --git a/gatsby-config.js b/gatsby-config.js index 4ed2f98..d490d09 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -2,7 +2,9 @@ const buildId = [ process.env.CI_COMMIT_REF_SLUG || 'prerelese', (process.env.CI_COMMIT_SHA || 'gitsha').slice(0, 7) ].join('-'); -const banner = (process.env.NODE_ENV === 'production') ? false : (process.env.NODE_ENV || 'development'); +const banner = (process.env.NODE_ENV === 'production') + ? false + : (process.env.NODE_ENV || 'development'); module.exports = { siteMetadata: { diff --git a/src/components/Footer/index.js b/src/components/Footer/index.js index 56256d6..a0ef4c1 100644 --- a/src/components/Footer/index.js +++ b/src/components/Footer/index.js @@ -21,8 +21,12 @@ export const FooterImpl = ({ site: { siteMetadata } }) => ( Created by Jeff Avallone
This error has been logged. You may also fill out a report.
+This error has been logged. You may also fill out a report.
Regexper and the tools used to create it are all open source. If you are concerned that the JavaScript being delivered is in any way malicious, please inspect the source in the GitLab repository.
-There are two data collection tools integrated in the app. These tools are not used to collect personal information:
++ Regexper and the tools used to create it are all open source. If you are + concerned that the JavaScript being delivered is in any way malicious, + please inspect the source in the GitLab repository. +
++ There are two data collection tools integrated in the app. These tools + are not used to collect personal information: +
Regexper honors the browser “Do Not Track” setting and will not enable these data collection tools if that setting is enabled. Also, most popular ad blockers will prevent these tools from sending any tracking data. Disabling or blocking these data collection tools will not impact the performance of this app. The information collected by these tools is used to monitor application performance, determine browser support, and collect error reports.
-Regexper is not supported by ad revenue or sales of any kind.
++ Regexper honors the browser “Do Not Track” setting and + will not enable these data collection tools if that setting is enabled. + Also, most popular ad blockers will prevent these tools from sending any + tracking data. Disabling or blocking these data collection tools + will not impact the performance of this app. The information + collected by these tools is used to monitor application performance, + determine browser support, and collect error reports. +
++ Regexper is not supported by ad revenue or sales of any kind. +