diff --git a/.eslintrc b/.eslintrc index fa4e5ff..52d7db4 100644 --- a/.eslintrc +++ b/.eslintrc @@ -7,7 +7,8 @@ "rules": { "object-curly-spacing": ["error", "always"], - "react/prop-types": 0 + "react/prop-types": 0, + "linebreak-style": "off" }, "env": { "es6": true, diff --git a/client/components/Box.js b/client/components/Box.js index f3b529e..6729ee8 100644 --- a/client/components/Box.js +++ b/client/components/Box.js @@ -1,4 +1,3 @@ -import React from 'react' import styled from 'styled-components' import { space, diff --git a/client/components/Button.js b/client/components/Button.js index 28a8bbd..74e7f83 100644 --- a/client/components/Button.js +++ b/client/components/Button.js @@ -1,3 +1,4 @@ +import React from 'react' import styled from 'styled-components' import { layout, space, display, flexbox, variant } from 'styled-system' import css from '@styled-system/css' diff --git a/client/components/Navigation.js b/client/components/Navigation.js index f3f45ae..d1828b5 100644 --- a/client/components/Navigation.js +++ b/client/components/Navigation.js @@ -248,7 +248,11 @@ const Navigation = ({ isMobile, menuIsOpen, setMenuIsOpen }) => { > Powered by{' '} - + ■ sqtracker {' '} diff --git a/client/components/Select.js b/client/components/Select.js index e42abc0..6a6930c 100644 --- a/client/components/Select.js +++ b/client/components/Select.js @@ -31,7 +31,7 @@ const StyledSelect = styled.select( typography ) -const Select = ({ label, rows, ...rest }) => { +const Select = ({ label, ...rest }) => { return ( diff --git a/client/next.config.js b/client/next.config.js index 0581c09..f2d66f4 100644 --- a/client/next.config.js +++ b/client/next.config.js @@ -23,6 +23,9 @@ const nextConfig = { const sentryWebpackPluginOptions = { silent: true, + errorHandler: (err, invokeErr, compilation) => { + compilation.warnings.push('Sentry CLI Plugin: ' + err.message) + }, } module.exports = withSentryConfig(nextConfig, sentryWebpackPluginOptions) diff --git a/client/pages/_error.js b/client/pages/_error.js index dedcb3f..e54933a 100644 --- a/client/pages/_error.js +++ b/client/pages/_error.js @@ -13,7 +13,11 @@ const ErrorPage = () => ( If the error persists, please{' '} - + report it . For now,{' '} diff --git a/client/pages/torrent/[infoHash].js b/client/pages/torrent/[infoHash].js index 3d1532f..d115554 100644 --- a/client/pages/torrent/[infoHash].js +++ b/client/pages/torrent/[infoHash].js @@ -487,6 +487,7 @@ const Torrent = ({ token, torrent, userId, userRole, uid }) => { {torrent.tags.map((tag) => ( { {user.comments.map((comment) => ( ))}