From 6491b24107c24f4c7fbbff12421ebd31f95c0179 Mon Sep 17 00:00:00 2001
From: David Chambers <dc@davidchambers.me>
Date: Thu, 2 Jan 2020 16:20:54 +0100
Subject: [PATCH] remove lint-bower-json

---
 README.md           |  8 --------
 bin/lint            |  1 -
 bin/lint-bower-json | 13 -------------
 package.json        |  2 --
 4 files changed, 24 deletions(-)
 delete mode 100755 bin/lint-bower-json

diff --git a/README.md b/README.md
index f2153b8..c07d76a 100644
--- a/README.md
+++ b/README.md
@@ -150,18 +150,12 @@ Runs the following linters:
   - [`check-required-files`][]
   - [`eslint`↗︎][]
   - [`lint-package-json`][]
-  - [`lint-bower-json`][]
   - [`lint-readme`][]
   - [`lint-commit-messages`][]
 
 Configurable via [variables][] (`source-files` and those respected by the
 aforementioned linters).
 
-### `lint-bower-json`
-
-Uses [`remember-bower`↗︎][] to assert that __bower.json__ exists and is in sync
-with __package.json__.
-
 ### `lint-commit-messages`
 
 Asserts that none of the commits on the current branch but not on the default
@@ -233,7 +227,6 @@ Configurable via [variables][] (`author-name`, `license-file`).
 [`doctest`]:                  #doctest
 [`generate-readme`]:          #generate-readme
 [`lint`]:                     #lint
-[`lint-bower-json`]:          #lint-bower-json
 [`lint-commit-messages`]:     #lint-commit-messages
 [`lint-package-json`]:        #lint-package-json
 [`lint-readme`]:              #lint-readme
@@ -250,6 +243,5 @@ Configurable via [variables][] (`author-name`, `license-file`).
 [`eslint`↗︎]:                  https://eslint.org/
 [`eslint-plugin-markdown`↗︎]:  https://github.com/eslint/eslint-plugin-markdown
 [`remark`↗︎]:                  http://remark.js.org/
-[`remember-bower`↗︎]:          https://github.com/davidchambers/remember-bower
 [`transcribe`↗︎]:              https://github.com/plaid/transcribe
 [`xyz`↗︎]:                     https://github.com/davidchambers/xyz
diff --git a/bin/lint b/bin/lint
index c4777b0..bfd637b 100755
--- a/bin/lint
+++ b/bin/lint
@@ -22,6 +22,5 @@ node_modules/.bin/eslint \
   --report-unused-disable-directives \
   -- "${files[@]}" '*.{js,mjs}' 'test/**/*.{js,mjs}'
 run lint-package-json
-run lint-bower-json
 run lint-readme
 run lint-commit-messages
diff --git a/bin/lint-bower-json b/bin/lint-bower-json
deleted file mode 100755
index c9765b2..0000000
--- a/bin/lint-bower-json
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env bash
-set -euf -o pipefail
-
-# shellcheck source=functions
-source "${BASH_SOURCE%/*}/../sanctuary-scripts/functions"
-
-run_custom_script lint-bower-json "$@"
-
-test -f bower.json || exit 0
-
-run lint-json bower.json
-
-node_modules/.bin/remember-bower "$(pwd)"
diff --git a/package.json b/package.json
index 89f55d7..7b1475d 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,6 @@
     "sanctuary-doctest": "bin/doctest",
     "sanctuary-generate-readme": "bin/generate-readme",
     "sanctuary-lint": "bin/lint",
-    "sanctuary-lint-bower-json": "bin/lint-bower-json",
     "sanctuary-lint-commit-messages": "bin/lint-commit-messages",
     "sanctuary-lint-json": "bin/lint-json",
     "sanctuary-lint-package-json": "bin/lint-package-json",
@@ -41,7 +40,6 @@
     "remark-cli": "6.x.x",
     "remark-lint-no-undefined-references": "1.1.x",
     "remark-lint-no-unused-definitions": "1.x.x",
-    "remember-bower": "0.1.x",
     "sanctuary-style": "3.0.x",
     "spdx-expression-parse": "3.0.x",
     "transcribe": "1.1.2",