mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-03 12:04:57 +08:00
chore: add eslint compat plugin (@fehmer) (#6542)
This commit is contained in:
parent
3aaf2f65d6
commit
d47272b636
3 changed files with 633 additions and 579 deletions
|
@ -1,7 +1,8 @@
|
|||
/** @type {import("eslint").Linter.Config} */
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: ["@monkeytype/eslint-config"],
|
||||
plugins: ["compat"],
|
||||
extends: ["@monkeytype/eslint-config", "plugin:compat/recommended"],
|
||||
globals: {
|
||||
$: "readonly",
|
||||
jQuery: "readonly",
|
||||
|
@ -21,4 +22,7 @@ module.exports = {
|
|||
"__tests__/",
|
||||
"jest.config.ts",
|
||||
],
|
||||
settings: {
|
||||
lintAllEsApis: true,
|
||||
},
|
||||
};
|
||||
|
|
|
@ -28,7 +28,9 @@
|
|||
"node": "20.16.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"defaults"
|
||||
"defaults",
|
||||
"not op_mini all",
|
||||
"not dead"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@fortawesome/fontawesome-free": "5.15.4",
|
||||
|
@ -50,6 +52,7 @@
|
|||
"concurrently": "8.2.2",
|
||||
"dotenv": "16.4.5",
|
||||
"eslint": "8.57.1",
|
||||
"eslint-plugin-compat": "6.0.2",
|
||||
"firebase-tools": "13.15.1",
|
||||
"fontawesome-subset": "4.4.0",
|
||||
"gulp": "4.0.2",
|
||||
|
|
1201
pnpm-lock.yaml
generated
1201
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue