@eslinted/defaults 8.0.0 → 8.1.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.
@@ -5,6 +5,10 @@ export declare const CssEnable: {
5
5
  readonly "css/no-empty-blocks": "error";
6
6
  readonly "css/no-invalid-at-rules": "error";
7
7
  readonly "css/no-invalid-properties": "error";
8
+ readonly "css/prefer-logical-properties": readonly ["error", {
9
+ readonly allowProperties: readonly [];
10
+ readonly allowUnits: readonly [];
11
+ }];
8
12
  readonly "css/require-baseline": readonly ["error", {
9
13
  readonly available: "widely";
10
14
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/css/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;CAgBZ,CAAC"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/css/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAuBZ,CAAC"}
@@ -6,6 +6,13 @@ export const CssEnable = {
6
6
  "css/no-empty-blocks": ERROR,
7
7
  "css/no-invalid-at-rules": ERROR,
8
8
  "css/no-invalid-properties": ERROR,
9
+ "css/prefer-logical-properties": [
10
+ ERROR,
11
+ {
12
+ allowProperties: [],
13
+ allowUnits: [],
14
+ },
15
+ ],
9
16
  "css/require-baseline": [
10
17
  ERROR,
11
18
  {
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/css/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,KAAK,EACL,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,EAAE,EAAE,EAAE,CAAC,MAAM;IACb,KAAK,EAAE;QAEL,0BAA0B,EAAE,KAAK;QACjC,qBAAqB,EAAE,KAAK;QAC5B,yBAAyB,EAAE,KAAK;QAChC,2BAA2B,EAAE,KAAK;QAClC,sBAAsB,EAAE;YACtB,KAAK;YACL;gBACE,SAAS,EAAE,QAAQ;aACpB;SACF;QACD,gBAAgB,EAAE,GAAG;KACb;CACF,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/css/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,KAAK,EACL,GAAG,GACJ,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,EAAE,EAAE,EAAE,CAAC,MAAM;IACb,KAAK,EAAE;QAEL,0BAA0B,EAAE,KAAK;QACjC,qBAAqB,EAAE,KAAK;QAC5B,yBAAyB,EAAE,KAAK;QAChC,2BAA2B,EAAE,KAAK;QAClC,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,eAAe,EAAE,EAAE;gBACnB,UAAU,EAAE,EAAE;aACf;SACF;QACD,sBAAsB,EAAE;YACtB,KAAK;YACL;gBACE,SAAS,EAAE,QAAQ;aACpB;SACF;QACD,gBAAgB,EAAE,GAAG;KACb;CACF,CAAC"}
@@ -5,6 +5,10 @@ declare const _default: {
5
5
  readonly "css/no-empty-blocks": "error";
6
6
  readonly "css/no-invalid-at-rules": "error";
7
7
  readonly "css/no-invalid-properties": "error";
8
+ readonly "css/prefer-logical-properties": readonly ["error", {
9
+ readonly allowProperties: readonly [];
10
+ readonly allowUnits: readonly [];
11
+ }];
8
12
  readonly "css/require-baseline": readonly ["error", {
9
13
  readonly available: "widely";
10
14
  }];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/css/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAEA,wBAA2B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/css/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAEA,wBAA2B"}
@@ -1498,6 +1498,10 @@ export declare const rules: {
1498
1498
  readonly "css/no-empty-blocks": "error";
1499
1499
  readonly "css/no-invalid-at-rules": "error";
1500
1500
  readonly "css/no-invalid-properties": "error";
1501
+ readonly "css/prefer-logical-properties": readonly ["error", {
1502
+ readonly allowProperties: readonly [];
1503
+ readonly allowUnits: readonly [];
1504
+ }];
1501
1505
  readonly "css/require-baseline": readonly ["error", {
1502
1506
  readonly available: "widely";
1503
1507
  }];
@@ -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"}
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": "8.0.0",
6
+ "version": "8.1.0",
7
7
  "description": "Default scopes for `linted`.",
8
8
  "repository": "github:jimmy-zhening-luo/linted-defaults",
9
9
  "license": "MIT",
@@ -7,17 +7,24 @@ import {
7
7
  export const CssEnable = {
8
8
  id: ID.Enable,
9
9
  rules: {
10
- // DOC: https://github.com/eslint/css?tab=readme-ov-file#rules
10
+ // DOC: https://github.com/eslint/css/tree/main/docs/rules
11
11
  "css/no-duplicate-imports": ERROR,
12
12
  "css/no-empty-blocks": ERROR,
13
13
  "css/no-invalid-at-rules": ERROR,
14
14
  "css/no-invalid-properties": ERROR,
15
+ "css/prefer-logical-properties": [
16
+ ERROR,
17
+ {
18
+ allowProperties: [],
19
+ allowUnits: [],
20
+ },
21
+ ],
15
22
  "css/require-baseline": [
16
23
  ERROR,
17
24
  {
18
- available: "widely" /* "newly" | @default "widely" */,
25
+ available: "widely" /* newly | @default widely */,
19
26
  },
20
27
  ],
21
- "css/use-layers": OFF /* not recommended by docs; also BUG: ESLint config inspector: css/use-layers: Invalid rule has no description [INVALID] */,
28
+ "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] */
22
29
  } as const,
23
30
  } as const;