@isentinel/eslint-config 4.7.8 → 4.7.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +5 -4
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -17047,7 +17047,7 @@ interface OptionsTestFramework {
|
|
|
17047
17047
|
/** Enable Vitest support. */
|
|
17048
17048
|
vitest?: boolean | OptionsVitest;
|
|
17049
17049
|
}
|
|
17050
|
-
type OptionsTypescript = (
|
|
17050
|
+
type OptionsTypescript = (OptionsOverridesTypeAware & OptionsTypeScriptErasableOnly & OptionsTypeScriptParserOptions) | (OptionsOverridesTypeAware & OptionsTypeScriptErasableOnly & OptionsTypeScriptWithTypes);
|
|
17051
17051
|
interface OptionsTypeScriptErasableOnly {
|
|
17052
17052
|
/**
|
|
17053
17053
|
* Enable erasable syntax only rules.
|
package/dist/index.mjs
CHANGED
|
@@ -467,6 +467,7 @@ async function disables(options) {
|
|
|
467
467
|
"import/no-duplicates": "off",
|
|
468
468
|
"max-lines": "off",
|
|
469
469
|
"no-restricted-syntax": "off",
|
|
470
|
+
"roblox/no-namespace-merging": "off",
|
|
470
471
|
"shopify/prefer-class-properties": "off",
|
|
471
472
|
"sonar/no-duplicate-string": "off",
|
|
472
473
|
"unused-imports/no-unused-vars": "off"
|
|
@@ -4073,6 +4074,7 @@ async function javascript(options = {}) {
|
|
|
4073
4074
|
"new-cap": ["error", {
|
|
4074
4075
|
capIsNew: false,
|
|
4075
4076
|
newIsCap: true,
|
|
4077
|
+
newIsCapExceptionPattern: "^mock",
|
|
4076
4078
|
properties: true
|
|
4077
4079
|
}],
|
|
4078
4080
|
"no-alert": "error",
|
|
@@ -4217,7 +4219,7 @@ async function javascript(options = {}) {
|
|
|
4217
4219
|
}],
|
|
4218
4220
|
"prefer-exponentiation-operator": "error",
|
|
4219
4221
|
"prefer-promise-reject-errors": "error",
|
|
4220
|
-
"prefer-regex-literals": ["error", { disallowRedundantWrapping: true }],
|
|
4222
|
+
"prefer-regex-literals": roblox$1 ? "off" : ["error", { disallowRedundantWrapping: true }],
|
|
4221
4223
|
"prefer-rest-params": "error",
|
|
4222
4224
|
"prefer-spread": "error",
|
|
4223
4225
|
"prefer-template": "error",
|
|
@@ -4812,8 +4814,7 @@ async function pnpm(options) {
|
|
|
4812
4814
|
"pnpm/yaml-enforce-settings": ["error", { settings: {
|
|
4813
4815
|
catalogMode: "prefer",
|
|
4814
4816
|
cleanupUnusedCatalogs: true,
|
|
4815
|
-
shellEmulator: true
|
|
4816
|
-
trustPolicy: "no-downgrade"
|
|
4817
|
+
shellEmulator: true
|
|
4817
4818
|
} }],
|
|
4818
4819
|
"pnpm/yaml-no-duplicate-catalog-item": "error",
|
|
4819
4820
|
"pnpm/yaml-no-unused-catalog-item": "error"
|
|
@@ -6313,7 +6314,7 @@ async function test(options = {}) {
|
|
|
6313
6314
|
"test/require-top-level-describe": "error",
|
|
6314
6315
|
"test/unbound-method": "error",
|
|
6315
6316
|
"test/valid-describe-callback": "error",
|
|
6316
|
-
"test/valid-expect": "error",
|
|
6317
|
+
"test/valid-expect": roblox$1 ? "off" : "error",
|
|
6317
6318
|
"test/valid-expect-in-promise": "error",
|
|
6318
6319
|
"test/valid-title": ["error", { mustMatch: { it: ["^should", "Test title must start with \"should\""] } }],
|
|
6319
6320
|
...stylistic$1 !== false ? { "test/padding-around-all": "warn" } : {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@isentinel/eslint-config",
|
|
3
|
-
"version": "4.7.
|
|
3
|
+
"version": "4.7.10",
|
|
4
4
|
"description": "iSentinel's ESLint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint-config",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"type-fest": "5.3.1",
|
|
128
128
|
"typescript": "5.9.3",
|
|
129
129
|
"unplugin-unused": "0.5.6",
|
|
130
|
-
"@isentinel/eslint-config": "4.7.
|
|
130
|
+
"@isentinel/eslint-config": "4.7.10"
|
|
131
131
|
},
|
|
132
132
|
"peerDependencies": {
|
|
133
133
|
"@vitest/eslint-plugin": "^1.0.0",
|