@drupal-canvas/eslint-config 0.1.0 → 0.1.1
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.
- package/dist/index.js +2 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -60,6 +60,7 @@ var rule = {
|
|
|
60
60
|
}
|
|
61
61
|
let hasMachineName = false;
|
|
62
62
|
return {
|
|
63
|
+
// @ts-expect-error - YAMLPair is a valid listener from eslint-plugin-yml
|
|
63
64
|
YAMLPair(node) {
|
|
64
65
|
const keyName = getYAMLStringValue(node.key);
|
|
65
66
|
if (keyName !== "machineName") {
|
|
@@ -435,6 +436,7 @@ var rule6 = {
|
|
|
435
436
|
return {};
|
|
436
437
|
}
|
|
437
438
|
return {
|
|
439
|
+
// @ts-expect-error - YAMLPair is a valid listener from eslint-plugin-yml
|
|
438
440
|
YAMLPair(node) {
|
|
439
441
|
const keyName = getYAMLStringValue(node.key);
|
|
440
442
|
if (keyName !== "props") {
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drupal-canvas/eslint-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "ESLint config for validating Drupal Canvas Code Components",
|
|
5
|
-
"license": "
|
|
5
|
+
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://git.drupalcode.org/project/canvas.git",
|