@eslinted/defaults 10.18.1 → 10.19.0

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.
@@ -1449,7 +1449,9 @@ export declare const rules: {
1449
1449
  readonly allowProperties: readonly [];
1450
1450
  readonly allowUnits: readonly [];
1451
1451
  }];
1452
- readonly "css/use-baseline": "off";
1452
+ readonly "css/use-baseline": readonly ["error", {
1453
+ readonly available: "widely";
1454
+ }];
1453
1455
  readonly "css/use-layers": "off";
1454
1456
  };
1455
1457
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUR,CAAC"}
@@ -10,7 +10,9 @@ export declare const CssEnable: {
10
10
  readonly allowProperties: readonly [];
11
11
  readonly allowUnits: readonly [];
12
12
  }];
13
- readonly "css/use-baseline": "off";
13
+ readonly "css/use-baseline": readonly ["error", {
14
+ readonly available: "widely";
15
+ }];
14
16
  readonly "css/use-layers": "off";
15
17
  };
16
18
  };
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/css/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;CAmBZ,CAAC"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/css/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;CAwBZ,CAAC"}
@@ -15,7 +15,12 @@ export const CssEnable = {
15
15
  allowUnits: [],
16
16
  },
17
17
  ],
18
- "css/use-baseline": OFF /* BUG: https://github.com/eslint/css/issues/135 */,
18
+ "css/use-baseline": [
19
+ ON,
20
+ {
21
+ available: "widely" /* 2023 | number (year) | `newly` | @default `widely` */,
22
+ },
23
+ ],
19
24
  "css/use-layers": OFF, /* not recommended by docs: https://github.com/eslint/css?tab=readme-ov-file#rules; also BUG: ESLint config inspector: css/use-layers: Invalid rule has no description [INVALID] */
20
25
  },
21
26
  };
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/css/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,GAAG,GACJ,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,EAAE,EAAE,EAAE,CAAC,MAAM;IACb,KAAK,EAAE;QACL,0DAA0D;QAC1D,0BAA0B,EAAE,EAAE;QAC9B,qBAAqB,EAAE,EAAE;QACzB,kBAAkB,EAAE,EAAE;QACtB,yBAAyB,EAAE,EAAE;QAC7B,2BAA2B,EAAE,GAAG,CAAC,qJAAqJ;QACtL,+BAA+B,EAAE;YAC/B,EAAE;YACF;gBACE,eAAe,EAAE,EAAE;gBACnB,UAAU,EAAE,EAAE;aACf;SACF;QACD,kBAAkB,EAAE,GAAG,CAAC,mDAAmD;QAC3E,gBAAgB,EAAE,GAAG,EAAE,mLAAmL;KAClM;CACF,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/css/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,GAAG,GACJ,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,EAAE,EAAE,EAAE,CAAC,MAAM;IACb,KAAK,EAAE;QACL,0DAA0D;QAC1D,0BAA0B,EAAE,EAAE;QAC9B,qBAAqB,EAAE,EAAE;QACzB,kBAAkB,EAAE,EAAE;QACtB,yBAAyB,EAAE,EAAE;QAC7B,2BAA2B,EAAE,GAAG,CAAC,qJAAqJ;QACtL,+BAA+B,EAAE;YAC/B,EAAE;YACF;gBACE,eAAe,EAAE,EAAE;gBACnB,UAAU,EAAE,EAAE;aACf;SACF;QACD,kBAAkB,EAAE;YAClB,EAAE;YACF;gBACE,SAAS,EAAE,QAAQ,CAAC,wDAAwD;aAC7E;SACF;QACD,gBAAgB,EAAE,GAAG,EAAE,mLAAmL;KAClM;CACF,CAAC"}
@@ -10,7 +10,9 @@ declare const _default: {
10
10
  readonly allowProperties: readonly [];
11
11
  readonly allowUnits: readonly [];
12
12
  }];
13
- readonly "css/use-baseline": "off";
13
+ readonly "css/use-baseline": readonly ["error", {
14
+ readonly available: "widely";
15
+ }];
14
16
  readonly "css/use-layers": "off";
15
17
  };
16
18
  }[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/css/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAEA,wBAA2B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/css/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAEA,wBAA2B"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "@eslinted/defaults",
6
- "version": "10.18.1",
6
+ "version": "10.19.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "private": false,
9
9
  "engineStrict": true,
@@ -18,7 +18,7 @@
18
18
  "@types/chai": "^5.2.2",
19
19
  "@types/mocha": "^10.0.10",
20
20
  "chai": "^5.2.0",
21
- "mocha": "^11.2.2",
21
+ "mocha": "^11.3.0",
22
22
  "npm-run-all": "^4.1.5",
23
23
  "run-script-os": "^1.1.6",
24
24
  "ts-add-js-extension": "^1.6.5",
@@ -20,7 +20,12 @@ export const CssEnable = {
20
20
  allowUnits: [],
21
21
  },
22
22
  ],
23
- "css/use-baseline": OFF /* BUG: https://github.com/eslint/css/issues/135 */,
23
+ "css/use-baseline": [
24
+ ON,
25
+ {
26
+ available: "widely" /* 2023 | number (year) | `newly` | @default `widely` */,
27
+ },
28
+ ],
24
29
  "css/use-layers": OFF, /* not recommended by docs: https://github.com/eslint/css?tab=readme-ov-file#rules; also BUG: ESLint config inspector: css/use-layers: Invalid rule has no description [INVALID] */
25
30
  } as const,
26
31
  } as const;