-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #566 from hildjj/update-eslint
Update all dependencies, including `@peggyjs/eslint-config`.
- Loading branch information
Showing
13 changed files
with
1,089 additions
and
753 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import commonjs from "@peggyjs/eslint-config/commonjs.js"; | ||
import compat from "eslint-plugin-compat"; | ||
import mocha from "@peggyjs/eslint-config/mocha.js"; | ||
import { modern } from "@peggyjs/eslint-config/modern.js"; | ||
import ts from "@peggyjs/eslint-config/ts.js"; | ||
|
||
export default [ | ||
{ | ||
ignores: [ | ||
"benchmark/**", | ||
"build/**", | ||
"examples/*.js", // Testing examples | ||
"test/cli/fixtures/bad.js", // Intentionally-invalid | ||
"test/cli/fixtures/imports_peggy.js", // Generated | ||
"test/cli/fixtures/lib.js", // Generated | ||
"test/cli/fixtures/useFrags/fs.js", // Generated | ||
"test/cli/fixtures/useFrags/identifier.js", // Generated | ||
"lib/parser.js", // Generated | ||
"bin/generated_template.d.ts", // Generated | ||
], | ||
}, | ||
...commonjs, | ||
...mocha, | ||
...ts, | ||
{ | ||
...modern, | ||
// All of these can use modern JS and node constructs | ||
files: ["bin/*.js", "tools/**", "web-test/**", "src/*.mjs"], | ||
}, | ||
{ | ||
// Check these files for broad browser compatibility. | ||
files: [ | ||
"**/*.min.js", | ||
"lib/parser.js", | ||
], | ||
plugins: { | ||
compat, | ||
}, | ||
rules: { | ||
"compat/compat": "error", | ||
}, | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,22 +56,22 @@ | |
"version": "npm run set_version && npm run parser && npm run parser && npm run test && npm run examples && git add lib/version.js lib/parser.js docs/index.html test/cli/fixtures/imports_peggy.js test/cli/fixtures/lib.js docs/js/examples.js" | ||
}, | ||
"devDependencies": { | ||
"@peggyjs/eslint-config": "^4.0.4", | ||
"@peggyjs/eslint-config": "^5.0.0", | ||
"@rollup/plugin-commonjs": "^28.0.0", | ||
"@rollup/plugin-json": "^6.1.0", | ||
"@rollup/plugin-multi-entry": "^6.0.1", | ||
"@rollup/plugin-node-resolve": "^15.3.0", | ||
"@rollup/plugin-typescript": "^12.1.0", | ||
"@types/chai": "^4.3.11", | ||
"@types/jest": "^29.5.13", | ||
"@types/node": "^22.7.4", | ||
"@types/node": "^22.7.5", | ||
"chai": "^4.3.11", | ||
"chai-like": "^1.1.3", | ||
"copyfiles": "^2.4.1", | ||
"eslint": "^9.11.1", | ||
"eslint": "^9.12.0", | ||
"eslint-plugin-compat": "6.0.1", | ||
"eslint-plugin-mocha": "10.5.0", | ||
"express": "4.21.0", | ||
"express": "4.21.1", | ||
"glob": "^11.0.0", | ||
"jest": "^29.7.0", | ||
"package-extract": "2.3.0", | ||
|
@@ -83,10 +83,10 @@ | |
"ts-jest": "^29.2.5", | ||
"tslib": "^2.7.0", | ||
"typescript": "5.5.4", | ||
"typescript-eslint": "8.8.0" | ||
"typescript-eslint": "8.8.1" | ||
}, | ||
"dependencies": { | ||
"@peggyjs/from-mem": "1.3.4", | ||
"@peggyjs/from-mem": "1.3.5", | ||
"commander": "^12.1.0", | ||
"source-map-generator": "0.8.0" | ||
}, | ||
|
@@ -98,7 +98,7 @@ | |
"browserslist": [ | ||
"defaults, maintained node versions, not op_mini all" | ||
], | ||
"packageManager": "[email protected].0", | ||
"packageManager": "[email protected].1", | ||
"engines": { | ||
"node": ">=18" | ||
} | ||
|
Oops, something went wrong.