Skip to content

Commit 214eebb

Browse files
committed
Merge branch 'main' into remove-ecmafeatures-globalreturn
2 parents 4556f12 + 83ec13d commit 214eebb

File tree

88 files changed

+48
-141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+48
-141
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.release-please-manifest.json @eslint/eslint-tsc
Lines changed: 6 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,13 @@
1-
name: Data Fetch
1+
name: update-readme
22

33
on:
44
schedule:
5-
- cron: "0 8 * * *" # Every day at 1am PDT
5+
- cron: "0 8 * * *" # Runs every day at 08:00 AM UTC
6+
67
workflow_dispatch:
78

89
jobs:
910
update-readme:
10-
runs-on: ubuntu-latest
11-
steps:
12-
- name: Check out repo
13-
uses: actions/checkout@v5
14-
with:
15-
token: ${{ secrets.WORKFLOW_PUSH_BOT_TOKEN }}
16-
17-
- name: Set up Node.js
18-
uses: actions/setup-node@v5
19-
20-
- name: Install npm packages
21-
run: npm install --force
22-
23-
- name: Update README with latest team and sponsor data
24-
run: npm run build:readme
25-
26-
- name: Setup Git
27-
run: |
28-
git config user.name "GitHub Actions Bot"
29-
git config user.email "<[email protected]>"
30-
31-
- name: Save updated files
32-
run: |
33-
chmod +x ./tools/commit-readme.sh
34-
./tools/commit-readme.sh
11+
uses: eslint/workflows/.github/workflows/update-readme.yml@main
12+
secrets:
13+
workflow_push_bot_token: ${{ secrets.WORKFLOW_PUSH_BOT_TOKEN }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ _test.js
1212
.eslint-release-info.json
1313
yarn.lock
1414
package-lock.json
15+
16+
# Automatically generated files by GitHub Actions workflow
17+
tools/update-readme.js

README.md

Lines changed: 1 addition & 0 deletions

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"scripts": {
77
"test": "npm test --workspaces --if-present",
88
"build": "npm run build --workspaces --if-present",
9-
"build:readme": "node tools/update-readme.js",
10-
"lint": "eslint .",
11-
"lint:fix": "eslint --fix ."
9+
"lint": "eslint",
10+
"lint:fix": "eslint --fix"
1211
},
1312
"workspaces": [
1413
"packages/*"
@@ -27,7 +26,6 @@
2726
"eslint-config-eslint": "^13.0.0",
2827
"eslint-plugin-chai-friendly": "^1.0.0",
2928
"globals": "^16.0.0",
30-
"got": "^14.4.1",
3129
"lint-staged": "^15.2.0",
3230
"mocha": "^11.1.0",
3331
"yorkie": "^2.0.0"

packages/eslint-scope/Makefile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ const NODE = "node",
4444
C8 = `${NODE} ${NODE_MODULES}/c8/bin/c8.js`,
4545

4646
// Files
47-
TEST_FILES = "tests/*.js",
48-
CJS_TEST_FILES = "tests/*.cjs";
47+
TEST_FILES = "tests/**/*.test.js",
48+
CJS_TEST_FILES = "tests/**/*.test.cjs";
4949

5050
//------------------------------------------------------------------------------
5151
// Tasks

packages/eslint-scope/README.md

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)