Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: mongodb/js-bson
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.7.2
Choose a base ref
...
head repository: mongodb/js-bson
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Showing 303 changed files with 224,703 additions and 20,563 deletions.
50 changes: 37 additions & 13 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -19,14 +19,15 @@
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2017,
"ecmaVersion": 2020,
"project": [
"./tsconfig.json"
]
},
"plugins": [
"prettier",
"eslint-plugin-tsdoc"
"eslint-plugin-tsdoc",
"no-bigint-usage"
],
"reportUnusedDisableDirectives": true,
"rules": {
@@ -50,18 +51,41 @@
"error",
"global"
],
"@typescript-eslint/ban-types": [
"error",
{
"types": {
"Function": false
}
}
],
"@typescript-eslint/no-unsafe-function-type": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-unsafe-return": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-unsafe-call": "off"
}
}
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-unsafe-enum-comparison": "off",
// Note: you must disable the base rule as it can report incorrect errors
"no-unused-expressions": "off",
"@typescript-eslint/no-unused-expressions": "off",
"@typescript-eslint/consistent-type-imports": [
"error",
{
"prefer": "type-imports",
"disallowTypeAnnotations": false,
"fixStyle": "inline-type-imports"
}
],
"no-bigint-usage/no-bigint-literals": "error",
"no-restricted-globals": [
"error",
"BigInt",
"DataView"
]
},
"overrides": [
{
"parser": "espree",
"files": [
"*.mjs"
],
"parserOptions": {
"sourceType": "module",
"ecmaVersion": "latest"
}
}
]
}
Loading