From 3338654c1f276950a2b313084731e3e0f8fe5e7e Mon Sep 17 00:00:00 2001 From: Nico Rehwaldt Date: Tue, 5 Mar 2024 11:24:34 +0100 Subject: [PATCH] chore: lint `cjs` extensions --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 72b451a..d0f0881 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "A tiny, super fast, namespace aware sax-style XML parser written in plain JavaScript", "scripts": { "all": "run-s lint test-coverage test-perf", - "lint": "eslint .", + "lint": "eslint . --ext js,cjs", "pretest": "run-s bundle", "bundle": "rollup -c --bundleConfigAsCjs", "test": "mocha test/*.js",