@eslinted/defaults 10.17.1 → 10.18.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.
@@ -1442,6 +1442,7 @@ export declare const rules: {
1442
1442
  readonly rules: {
1443
1443
  readonly "css/no-duplicate-imports": "error";
1444
1444
  readonly "css/no-empty-blocks": "error";
1445
+ readonly "css/no-important": "error";
1445
1446
  readonly "css/no-invalid-at-rules": "error";
1446
1447
  readonly "css/no-invalid-properties": "off";
1447
1448
  readonly "css/prefer-logical-properties": readonly ["error", {
@@ -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"}
@@ -3,6 +3,7 @@ export declare const CssEnable: {
3
3
  readonly rules: {
4
4
  readonly "css/no-duplicate-imports": "error";
5
5
  readonly "css/no-empty-blocks": "error";
6
+ readonly "css/no-important": "error";
6
7
  readonly "css/no-invalid-at-rules": "error";
7
8
  readonly "css/no-invalid-properties": "off";
8
9
  readonly "css/prefer-logical-properties": readonly ["error", {
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/css/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAuBZ,CAAC"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/css/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;CAwBZ,CAAC"}
@@ -5,6 +5,7 @@ export const CssEnable = {
5
5
  // DOC: https://github.com/eslint/css/tree/main/docs/rules
6
6
  "css/no-duplicate-imports": ON,
7
7
  "css/no-empty-blocks": ON,
8
+ "css/no-important": ON,
8
9
  "css/no-invalid-at-rules": ON,
9
10
  "css/no-invalid-properties": OFF /* BUG: disabled with PREJUDICE (see commit: https://github.com/jimmy-zhening-luo/linted-defaults/commit/702e6632328813e84df92cade730469661ee85db) */,
10
11
  "css/prefer-logical-properties": [
@@ -17,7 +18,7 @@ export const CssEnable = {
17
18
  "css/use-baseline": [
18
19
  ON,
19
20
  {
20
- available: "widely" /* newly | @default widely */,
21
+ available: "widely" /* 2023 | number (year) | `newly` | @default `widely` */,
21
22
  },
22
23
  ],
23
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] */
@@ -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,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,6BAA6B;aAClD;SACF;QACD,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"}
@@ -3,6 +3,7 @@ declare const _default: {
3
3
  readonly rules: {
4
4
  readonly "css/no-duplicate-imports": "error";
5
5
  readonly "css/no-empty-blocks": "error";
6
+ readonly "css/no-important": "error";
6
7
  readonly "css/no-invalid-at-rules": "error";
7
8
  readonly "css/no-invalid-properties": "off";
8
9
  readonly "css/prefer-logical-properties": readonly ["error", {
@@ -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.17.1",
6
+ "version": "10.18.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "private": false,
9
9
  "engineStrict": true,
@@ -10,6 +10,7 @@ export const CssEnable = {
10
10
  // DOC: https://github.com/eslint/css/tree/main/docs/rules
11
11
  "css/no-duplicate-imports": ON,
12
12
  "css/no-empty-blocks": ON,
13
+ "css/no-important": ON,
13
14
  "css/no-invalid-at-rules": ON,
14
15
  "css/no-invalid-properties": OFF /* BUG: disabled with PREJUDICE (see commit: https://github.com/jimmy-zhening-luo/linted-defaults/commit/702e6632328813e84df92cade730469661ee85db) */,
15
16
  "css/prefer-logical-properties": [
@@ -22,7 +23,7 @@ export const CssEnable = {
22
23
  "css/use-baseline": [
23
24
  ON,
24
25
  {
25
- available: "widely" /* newly | @default widely */,
26
+ available: "widely" /* 2023 | number (year) | `newly` | @default `widely` */,
26
27
  },
27
28
  ],
28
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] */