File: 2006_prepare-for-ajv-8.patch

package info (click to toggle)
node-eslint-plugin-eslint-plugin 2.3.0%2B~0.3.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 652 kB
  • sloc: javascript: 5,372; makefile: 34; sh: 1
file content (27 lines) | stat: -rw-r--r-- 611 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
Description: prepare for ajv 8
Author: Yadd <yadd@debian.org>
Forwarded: no
Last-Update: 2023-12-12

--- a/lib/rules/meta-property-ordering.js
+++ b/lib/rules/meta-property-ordering.js
@@ -21,7 +21,7 @@
     fixable: 'code',
     schema: [{
       type: 'array',
-      elements: { type: 'string' },
+      items: { type: 'string' },
     }],
   },
 
--- a/lib/rules/test-case-property-ordering.js
+++ b/lib/rules/test-case-property-ordering.js
@@ -22,7 +22,7 @@
     fixable: 'code',
     schema: [{
       type: 'array',
-      elements: { type: 'string' },
+      items: { type: 'string' },
     }],
   },