@eslinted/defaults 12.14.2 → 12.15.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.
@@ -9,28 +9,22 @@ jobs:
9
9
  environment:
10
10
  name: RELEASE
11
11
  url: https://www.npmjs.com/package/@eslinted/defaults?activeTab=versions
12
- permissions:
13
- contents: read
12
+ permissions: { contents: read }
14
13
  runs-on: ubuntu-latest
15
14
  steps:
16
15
  - name: Checkout
17
16
  id: checkout
18
17
  uses: actions/checkout@v4
19
- with:
20
- submodules: true
21
- lfs: false
22
18
  - name: Install Node
23
19
  id: node
24
20
  uses: actions/setup-node@v4
25
21
  with:
26
22
  node-version: 22
27
- check-latest: true
28
- registry-url: "https://registry.npmjs.org"
23
+ registry-url: https://registry.npmjs.org
29
24
  - name: Install Dependencies
30
25
  id: ci
31
26
  run: npm ci
32
27
  - name: Publish to NPM
33
28
  id: publish
34
29
  run: npm publish
35
- env:
36
- NODE_AUTH_TOKEN: "${{ secrets.NPM_TOKEN }}"
30
+ env: { NODE_AUTH_TOKEN: "${{secrets.NPM_TOKEN}}" }
@@ -9,28 +9,22 @@ jobs:
9
9
  environment:
10
10
  name: rc
11
11
  url: https://www.npmjs.com/package/@eslinted/defaults?activeTab=versions
12
- permissions:
13
- contents: read
12
+ permissions: { contents: read }
14
13
  runs-on: ubuntu-latest
15
14
  steps:
16
15
  - name: Checkout
17
16
  id: checkout
18
17
  uses: actions/checkout@v4
19
- with:
20
- submodules: true
21
- lfs: false
22
18
  - name: Install Node
23
19
  id: node
24
20
  uses: actions/setup-node@v4
25
21
  with:
26
22
  node-version: 22
27
- check-latest: true
28
- registry-url: "https://registry.npmjs.org"
23
+ registry-url: https://registry.npmjs.org
29
24
  - name: Install Dependencies
30
25
  id: ci
31
26
  run: npm ci
32
27
  - name: Publish to NPM
33
28
  id: publish
34
29
  run: npm publish
35
- env:
36
- NODE_AUTH_TOKEN: "${{ secrets.NPM_TOKEN }}"
30
+ env: { NODE_AUTH_TOKEN: "${{secrets.NPM_TOKEN}}" }
package/dist/index.d.ts CHANGED
@@ -1429,13 +1429,7 @@ export declare const defaults: {
1429
1429
  readonly "yml/block-mapping": "error";
1430
1430
  readonly "yml/block-sequence-hyphen-indicator-newline": "error";
1431
1431
  readonly "yml/block-sequence": "error";
1432
- readonly "yml/indent": readonly [
1433
- "error",
1434
- 2,
1435
- {
1436
- readonly alignMultilineFlowScalars: true;
1437
- }
1438
- ];
1432
+ readonly "yml/indent": "error";
1439
1433
  readonly "yml/no-empty-key": "error";
1440
1434
  readonly "yml/no-empty-sequence-entry": "error";
1441
1435
  readonly "yml/no-tab-indent": "error";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIpB,CAAC"}
@@ -917,9 +917,7 @@ export declare const rules: {
917
917
  readonly "yml/block-mapping": "error";
918
918
  readonly "yml/block-sequence-hyphen-indicator-newline": "error";
919
919
  readonly "yml/block-sequence": "error";
920
- readonly "yml/indent": readonly ["error", 2, {
921
- readonly alignMultilineFlowScalars: true;
922
- }];
920
+ readonly "yml/indent": "error";
923
921
  readonly "yml/no-empty-key": "error";
924
922
  readonly "yml/no-empty-sequence-entry": "error";
925
923
  readonly "yml/no-tab-indent": "error";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAWjB,CAAC"}
@@ -6,9 +6,7 @@ declare const _default: ({
6
6
  readonly "yml/block-mapping": "error";
7
7
  readonly "yml/block-sequence-hyphen-indicator-newline": "error";
8
8
  readonly "yml/block-sequence": "error";
9
- readonly "yml/indent": readonly ["error", 2, {
10
- readonly alignMultilineFlowScalars: true;
11
- }];
9
+ readonly "yml/indent": "error";
12
10
  readonly "yml/no-empty-key": "error";
13
11
  readonly "yml/no-empty-sequence-entry": "error";
14
12
  readonly "yml/no-tab-indent": "error";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
@@ -6,9 +6,7 @@ export declare const YmlEnablePlugin: {
6
6
  readonly "yml/block-mapping": "error";
7
7
  readonly "yml/block-sequence-hyphen-indicator-newline": "error";
8
8
  readonly "yml/block-sequence": "error";
9
- readonly "yml/indent": readonly ["error", 2, {
10
- readonly alignMultilineFlowScalars: true;
11
- }];
9
+ readonly "yml/indent": "error";
12
10
  readonly "yml/no-empty-key": "error";
13
11
  readonly "yml/no-empty-sequence-entry": "error";
14
12
  readonly "yml/no-tab-indent": "error";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/yml/plugin/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;CA+B3B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/yml/plugin/index.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;CAyB3B,CAAC"}
@@ -7,13 +7,7 @@ export const YmlEnablePlugin = {
7
7
  "yml/block-mapping": ON,
8
8
  "yml/block-sequence-hyphen-indicator-newline": ON,
9
9
  "yml/block-sequence": ON,
10
- "yml/indent": [
11
- ON,
12
- 2,
13
- {
14
- alignMultilineFlowScalars: true,
15
- },
16
- ],
10
+ "yml/indent": ON,
17
11
  "yml/no-empty-key": ON,
18
12
  "yml/no-empty-sequence-entry": ON,
19
13
  "yml/no-tab-indent": ON,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/yml/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,GACH,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM;IAC3B,KAAK,EAAE;QAEL,2CAA2C,EAAE,EAAE;QAC/C,8CAA8C,EAAE,EAAE;QAClD,mBAAmB,EAAE,EAAE;QACvB,6CAA6C,EAAE,EAAE;QACjD,oBAAoB,EAAE,EAAE;QAExB,YAAY,EAAE;YACZ,EAAE;YACF,CAAC;YACD;gBACE,yBAAyB,EAAE,IAAI;aAChC;SACF;QAGD,kBAAkB,EAAE,EAAE;QAEtB,6BAA6B,EAAE,EAAE;QACjC,mBAAmB,EAAE,EAAE;QACvB,uBAAuB,EAAE,EAAE;QAC3B,kBAAkB,EAAE,EAAE;QAEtB,wBAAwB,EAAE,EAAE;QAG5B,uCAAuC,EAAE,EAAE;KACnC;CACX,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/yml/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,GACH,MAAM,gBAAgB,CAAC;AAExB,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM;IAC3B,KAAK,EAAE;QAEL,2CAA2C,EAAE,EAAE;QAC/C,8CAA8C,EAAE,EAAE;QAClD,mBAAmB,EAAE,EAAE;QACvB,6CAA6C,EAAE,EAAE;QACjD,oBAAoB,EAAE,EAAE;QAExB,YAAY,EAAE,EAAE;QAGhB,kBAAkB,EAAE,EAAE;QAEtB,6BAA6B,EAAE,EAAE;QACjC,mBAAmB,EAAE,EAAE;QACvB,uBAAuB,EAAE,EAAE;QAC3B,kBAAkB,EAAE,EAAE;QAEtB,wBAAwB,EAAE,EAAE;QAG5B,uCAAuC,EAAE,EAAE;KACnC;CACX,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": "12.14.2",
6
+ "version": "12.15.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "private": false,
9
9
  "engineStrict": true,
@@ -14,13 +14,7 @@ export const YmlEnablePlugin = {
14
14
  "yml/block-sequence-hyphen-indicator-newline": ON,
15
15
  "yml/block-sequence": ON,
16
16
  // "yml/file-extension": OFF,
17
- "yml/indent": [
18
- ON,
19
- 2,
20
- {
21
- alignMultilineFlowScalars: true,
22
- },
23
- ],
17
+ "yml/indent": ON,
24
18
  // "yml/key-name-casing": OFF,
25
19
  // "yml/no-empty-document": OFF,
26
20
  "yml/no-empty-key": ON,