about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--.prettierrc.json24
-rw-r--r--package.json28
-rwxr-xr-x[-rw-r--r--]src/instances/get_instances.py1
-rw-r--r--web-ext-config.js10
4 files changed, 27 insertions, 36 deletions
diff --git a/.prettierrc.json b/.prettierrc.json
deleted file mode 100644
index ce2a27b2..00000000
--- a/.prettierrc.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-	"semi": false,
-	"tabWidth": 2,
-	"useTabs": true,
-	"arrowParens": "avoid",
-	"printWidth": 200,
-	"bracketSameLine": true,
-	"endOfLine": "lf",
-	"overrides": [
-		{
-			"files": ["*.js", "*.json"],
-			"options": {
-				"singleQuote": false
-			}
-		},
-		{
-			"files": ["*.html", "*.py"],
-			"options": {
-				"tabWidth": 4,
-				"singleQuote": true
-			}
-		}
-	]
-}
diff --git a/package.json b/package.json
index 7df440f6..98351dad 100644
--- a/package.json
+++ b/package.json
@@ -27,7 +27,31 @@
 		"prettier": "^2.7.1",
 		"web-ext": "^7.2.0"
 	},
-	"dependencies": {
-		"buffer": "^6.0.3"
+	"prettier": {
+		"semi": false,
+		"tabWidth": 2,
+		"useTabs": true,
+		"arrowParens": "avoid",
+		"printWidth": 200,
+		"bracketSameLine": true,
+		"endOfLine": "lf",
+		"singleQuote": false
+	},
+	"webExt": {
+		"ignoreFiles": [
+			"instances/get_instances.py",
+			"instances/beatbump.json",
+			"instances/bibliogram.json",
+			"instances/cloudtube.json",
+			"instances/facil.json",
+			"instances/neuters.json"
+		],
+		"sourceDir": "./src/",
+		"run": {
+			"browserConsole": true
+		},
+		"build": {
+			"overwriteDest": true
+		}
 	}
 }
diff --git a/src/instances/get_instances.py b/src/instances/get_instances.py
index 8a0258c0..46b8589d 100644..100755
--- a/src/instances/get_instances.py
+++ b/src/instances/get_instances.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python3
 # Note: Run this script from the root of the repo
 
 import traceback
diff --git a/web-ext-config.js b/web-ext-config.js
deleted file mode 100644
index 8c691b04..00000000
--- a/web-ext-config.js
+++ /dev/null
@@ -1,10 +0,0 @@
-module.exports = {
-	ignoreFiles: ["instances/get_instances.py"],
-	sourceDir: "./src/",
-	run: {
-		browserConsole: true,
-	},
-	build: {
-		overwriteDest: true,
-	},
-}