From c54d81dac849f73022b6716b9674dab068c10ecc Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Wed, 24 Apr 2024 11:23:08 -0700 Subject: [PATCH] chore: Update README and ESLint config --- README.md | 8 ++++++++ eslint.config.js | 15 +++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/README.md b/README.md index 4d9a00b..0576a69 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # ESLint Rewrite Monorepo for the rewrite of ESLint. + + +## Packages + +This repository is the home of the following packages: + +* [`@eslint/object-schema`](tree/main/packages/object-schema) +* [`@eslint/config-array`](tree/main/packages/config-array) diff --git a/eslint.config.js b/eslint.config.js index a6a2779..cd42600 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -2,4 +2,19 @@ import js from "@eslint/js"; export default [ js.configs.recommended, + { + files: ["**/*.test.js"], + languageOptions: { + globals: { + describe: "readonly", + xdescribe: "readonly", + it: "readonly", + xit: "readonly", + beforeEach: "readonly", + afterEach: "readonly", + before: "readonly", + after: "readonly", + } + } + } ];