Configure ESLint

This commit is contained in:
Josh Gross
2023-03-15 14:56:47 -04:00
parent 965cb981b1
commit 28a4438faf
12 changed files with 72 additions and 28 deletions
+3 -3
View File
@@ -31,8 +31,8 @@
"clean": "rimraf dist",
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"lint": "eslint **/*.ts",
"lint-fix": "eslint --fix **/*.ts",
"lint": "eslint src/**/*.ts",
"lint-fix": "eslint --fix src/**/*.ts",
"prepublishOnly": "npm run build && npm run test",
"test": "NODE_OPTIONS=\"--experimental-vm-modules\" jest",
"test-xlang": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --testPathPattern xlang",
@@ -61,4 +61,4 @@
"ts-jest": "^29.0.3",
"typescript": "^4.8.4"
}
}
}