Quote ESLint glob patterns

This commit is contained in:
Josh Gross
2023-03-16 14:37:50 -04:00
parent 4ca941a1c8
commit 2f9522d189
5 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -19,8 +19,8 @@
"clean": "rimraf dist", "clean": "rimraf dist",
"format": "prettier --write '**/*.ts'", "format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'", "format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts", "lint": "eslint 'src/**/*.ts'",
"lint-fix": "eslint --fix src/**/*.ts", "lint-fix": "eslint --fix 'src/**/*.ts'",
"start": "webpack-dev-server --mode development --open", "start": "webpack-dev-server --mode development --open",
"test": "exit 0", "test": "exit 0",
"watch": "webpack --watch --mode development --env esbuild" "watch": "webpack --watch --mode development --env esbuild"
+2 -2
View File
@@ -31,8 +31,8 @@
"clean": "rimraf dist", "clean": "rimraf dist",
"format": "prettier --write '**/*.ts'", "format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'", "format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts", "lint": "eslint 'src/**/*.ts'",
"lint-fix": "eslint --fix src/**/*.ts", "lint-fix": "eslint --fix 'src/**/*.ts'",
"prepublishOnly": "npm run build && npm run test", "prepublishOnly": "npm run build && npm run test",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest", "test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
"test-watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch", "test-watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch",
+2 -2
View File
@@ -32,8 +32,8 @@
"clean": "rimraf dist", "clean": "rimraf dist",
"format": "prettier --write '**/*.ts'", "format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'", "format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts", "lint": "eslint 'src/**/*.ts'",
"lint-fix": "eslint --fix src/**/*.ts", "lint-fix": "eslint --fix 'src/**/*.ts'",
"prepublishOnly": "npm run build && npm run test", "prepublishOnly": "npm run build && npm run test",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest", "test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
"test-watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch", "test-watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch",
+2 -2
View File
@@ -32,8 +32,8 @@
"clean": "rimraf dist", "clean": "rimraf dist",
"format": "prettier --write '**/*.ts'", "format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'", "format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts", "lint": "eslint 'src/**/*.ts'",
"lint-fix": "eslint --fix src/**/*.ts", "lint-fix": "eslint --fix 'src/**/*.ts'",
"prepublishOnly": "npm run build && npm run test", "prepublishOnly": "npm run build && npm run test",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest", "test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
"test-watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch", "test-watch": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --watch",
+2 -2
View File
@@ -31,8 +31,8 @@
"clean": "rimraf dist", "clean": "rimraf dist",
"format": "prettier --write '**/*.ts'", "format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'", "format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts", "lint": "eslint 'src/**/*.ts'",
"lint-fix": "eslint --fix src/**/*.ts", "lint-fix": "eslint --fix 'src/**/*.ts'",
"prepublishOnly": "npm run build && npm run test", "prepublishOnly": "npm run build && npm run test",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest", "test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
"test-xlang": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --testPathPattern xlang", "test-xlang": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --testPathPattern xlang",