From 82d6719d91f249bf5d48a455badb74bf74d60271 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 16 Jul 2019 18:39:44 -0700 Subject: [PATCH] Upgrade linter packages --- build.sh | 2 +- .../src/Components/Form/AutoSuggestInput.js | 2 +- frontend/src/Components/Form/TagInput.js | 2 +- .../RemotePathMappings/RemotePathMapping.js | 2 +- .../Settings/Profiles/Delay/DelayProfile.js | 2 +- .../Profiles/Language/LanguageProfileItem.js | 2 +- .../Quality/QualityProfileItemGroup.js | 2 +- package.json | 12 +- yarn.lock | 538 +++++++++++------- 9 files changed, 335 insertions(+), 229 deletions(-) diff --git a/build.sh b/build.sh index 1ac9ba8a8..2d8703f48 100755 --- a/build.sh +++ b/build.sh @@ -109,7 +109,7 @@ BuildWithXbuild() LintUI() { ProgressStart 'ESLint' - CheckExitCode yarn eslint + CheckExitCode yarn lint ProgressEnd 'ESLint' ProgressStart 'Stylelint' diff --git a/frontend/src/Components/Form/AutoSuggestInput.js b/frontend/src/Components/Form/AutoSuggestInput.js index 0fc8172ea..07dd9ffcd 100644 --- a/frontend/src/Components/Form/AutoSuggestInput.js +++ b/frontend/src/Components/Form/AutoSuggestInput.js @@ -176,7 +176,7 @@ class AutoSuggestInput extends Component { className: classNames( className, hasError && styles.hasError, - hasWarning && styles.hasWarning, + hasWarning && styles.hasWarning ), name, value, diff --git a/frontend/src/Components/Form/TagInput.js b/frontend/src/Components/Form/TagInput.js index dec4ee2c9..5aeefd0f5 100644 --- a/frontend/src/Components/Form/TagInput.js +++ b/frontend/src/Components/Form/TagInput.js @@ -226,7 +226,7 @@ class TagInput extends Component { className={styles.internalInput} inputContainerClassName={classNames( inputContainerClassName, - isFocused && styles.isFocused, + isFocused && styles.isFocused )} value={value} suggestions={suggestions} diff --git a/frontend/src/Settings/DownloadClients/RemotePathMappings/RemotePathMapping.js b/frontend/src/Settings/DownloadClients/RemotePathMappings/RemotePathMapping.js index 3f25dbd0f..0633b28ff 100644 --- a/frontend/src/Settings/DownloadClients/RemotePathMappings/RemotePathMapping.js +++ b/frontend/src/Settings/DownloadClients/RemotePathMappings/RemotePathMapping.js @@ -62,7 +62,7 @@ class RemotePathMapping extends Component { return (
{host}
diff --git a/frontend/src/Settings/Profiles/Delay/DelayProfile.js b/frontend/src/Settings/Profiles/Delay/DelayProfile.js index d72a06467..c9b5b8358 100644 --- a/frontend/src/Settings/Profiles/Delay/DelayProfile.js +++ b/frontend/src/Settings/Profiles/Delay/DelayProfile.js @@ -96,7 +96,7 @@ class DelayProfile extends Component {
{preferred}
diff --git a/frontend/src/Settings/Profiles/Language/LanguageProfileItem.js b/frontend/src/Settings/Profiles/Language/LanguageProfileItem.js index 2a3671268..9552a0a8f 100644 --- a/frontend/src/Settings/Profiles/Language/LanguageProfileItem.js +++ b/frontend/src/Settings/Profiles/Language/LanguageProfileItem.js @@ -35,7 +35,7 @@ class LanguageProfileItem extends Component {