From dfe5bd356ec8af5ac941e4ee727821216ef95aa4 Mon Sep 17 00:00:00 2001 From: Justin Geibel Date: Sat, 21 Dec 2019 22:59:42 -0500 Subject: [PATCH 1/2] Remove unnecessary overrides of `quotes` eslint --- .template-lintrc.js | 1 - mirage/fixtures/categories.js | 1 - mirage/fixtures/crates.js | 1 - mirage/fixtures/dependencies.js | 1 - mirage/fixtures/keywords.js | 1 - mirage/fixtures/teams.js | 1 - mirage/fixtures/users.js | 1 - mirage/fixtures/version-downloads.js | 1 - mirage/fixtures/versions.js | 1 - 9 files changed, 9 deletions(-) diff --git a/.template-lintrc.js b/.template-lintrc.js index 8449782d584..bb8afea1db9 100644 --- a/.template-lintrc.js +++ b/.template-lintrc.js @@ -12,6 +12,5 @@ module.exports = { 'no-html-comments': false, 'no-implicit-this': false, 'no-unnecessary-concat': false, - quotes: false, }, }; diff --git a/mirage/fixtures/categories.js b/mirage/fixtures/categories.js index c2f62272f5a..43b5c5d7f8d 100644 --- a/mirage/fixtures/categories.js +++ b/mirage/fixtures/categories.js @@ -1,4 +1,3 @@ -/* eslint-disable quotes */ export default [ { category: 'API bindings', diff --git a/mirage/fixtures/crates.js b/mirage/fixtures/crates.js index 43f93595c64..be295dacba3 100644 --- a/mirage/fixtures/crates.js +++ b/mirage/fixtures/crates.js @@ -1,4 +1,3 @@ -/* eslint-disable quotes */ export default [ { badges: [ diff --git a/mirage/fixtures/dependencies.js b/mirage/fixtures/dependencies.js index 372b4100483..61fceb78ab2 100644 --- a/mirage/fixtures/dependencies.js +++ b/mirage/fixtures/dependencies.js @@ -1,4 +1,3 @@ -/* eslint-disable quotes */ export default [ { crate_id: 'libc', diff --git a/mirage/fixtures/keywords.js b/mirage/fixtures/keywords.js index 2285b073d4d..b370228b6b3 100644 --- a/mirage/fixtures/keywords.js +++ b/mirage/fixtures/keywords.js @@ -1,4 +1,3 @@ -/* eslint-disable quotes */ export default [ { crates_cnt: 38, diff --git a/mirage/fixtures/teams.js b/mirage/fixtures/teams.js index aabb1a35ba8..0c753788449 100644 --- a/mirage/fixtures/teams.js +++ b/mirage/fixtures/teams.js @@ -1,4 +1,3 @@ -/* eslint-disable quotes */ export default [ { avatar: 'https://avatars.githubusercontent.com/u/565790?v=3', diff --git a/mirage/fixtures/users.js b/mirage/fixtures/users.js index 0c57699a959..a0f4979565a 100644 --- a/mirage/fixtures/users.js +++ b/mirage/fixtures/users.js @@ -1,4 +1,3 @@ -/* eslint-disable quotes */ export default [ { avatar: 'https://avatars0.githubusercontent.com/u/9447137?v=3', diff --git a/mirage/fixtures/version-downloads.js b/mirage/fixtures/version-downloads.js index eaeccc264cf..d8ed3b7a6da 100644 --- a/mirage/fixtures/version-downloads.js +++ b/mirage/fixtures/version-downloads.js @@ -1,4 +1,3 @@ -/* eslint-disable quotes */ export default [ { date: '2017-02-10T00:00:00Z', diff --git a/mirage/fixtures/versions.js b/mirage/fixtures/versions.js index 34969b7faf1..5a6a7347ed1 100644 --- a/mirage/fixtures/versions.js +++ b/mirage/fixtures/versions.js @@ -1,4 +1,3 @@ -/* eslint-disable quotes */ export default [ { crate: 'nanomsg', From 9e1eab615bc484b0cc2cf37e17ad91b0062e9e1a Mon Sep 17 00:00:00 2001 From: Justin Geibel Date: Sat, 21 Dec 2019 23:02:46 -0500 Subject: [PATCH 2/2] Remove 3 more unnecessary eslint overrides --- .template-lintrc.js | 2 -- fastboot.js | 1 - 2 files changed, 3 deletions(-) diff --git a/.template-lintrc.js b/.template-lintrc.js index bb8afea1db9..1d984309976 100644 --- a/.template-lintrc.js +++ b/.template-lintrc.js @@ -9,8 +9,6 @@ module.exports = { 'require-valid-alt-text': false, 'no-action': false, 'no-curly-component-invocation': false, - 'no-html-comments': false, 'no-implicit-this': false, - 'no-unnecessary-concat': false, }, }; diff --git a/fastboot.js b/fastboot.js index 0bd560c8978..297832c1fd5 100644 --- a/fastboot.js +++ b/fastboot.js @@ -1,4 +1,3 @@ -/* eslint-disable no-console */ /* eslint-env node */ 'use strict';