eslint-plugin-yml
Advanced tools
Comparing version 1.5.0 to 1.7.0
@@ -14,2 +14,3 @@ declare const _default: { | ||
"yml/no-multiple-empty-lines": string; | ||
"yml/no-trailing-zeros": string; | ||
"yml/quotes": string; | ||
@@ -16,0 +17,0 @@ }; |
@@ -21,4 +21,5 @@ "use strict"; | ||
"yml/no-multiple-empty-lines": "off", | ||
"yml/no-trailing-zeros": "off", | ||
"yml/quotes": "off", | ||
}, | ||
}; |
import type { RuleModule } from "./types"; | ||
import * as meta from "./meta"; | ||
declare const _default: { | ||
meta: typeof meta; | ||
configs: { | ||
@@ -66,2 +68,3 @@ base: { | ||
"yml/no-multiple-empty-lines": string; | ||
"yml/no-trailing-zeros": string; | ||
"yml/quotes": string; | ||
@@ -68,0 +71,0 @@ }; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
@@ -10,2 +33,3 @@ return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
const prettier_1 = __importDefault(require("./configs/prettier")); | ||
const meta = __importStar(require("./meta")); | ||
const configs = { | ||
@@ -22,4 +46,5 @@ base: base_1.default, | ||
module.exports = { | ||
meta, | ||
configs, | ||
rules, | ||
}; |
@@ -27,2 +27,3 @@ "use strict"; | ||
const no_tab_indent_1 = __importDefault(require("../rules/no-tab-indent")); | ||
const no_trailing_zeros_1 = __importDefault(require("../rules/no-trailing-zeros")); | ||
const plain_scalar_1 = __importDefault(require("../rules/plain-scalar")); | ||
@@ -56,2 +57,3 @@ const quotes_1 = __importDefault(require("../rules/quotes")); | ||
no_tab_indent_1.default, | ||
no_trailing_zeros_1.default, | ||
plain_scalar_1.default, | ||
@@ -58,0 +60,0 @@ quotes_1.default, |
{ | ||
"name": "eslint-plugin-yml", | ||
"version": "1.5.0", | ||
"version": "1.7.0", | ||
"description": "This ESLint plugin provides linting rules for YAML.", | ||
@@ -14,3 +14,4 @@ "main": "lib/index.js", | ||
"prebuild": "npm run -s clean", | ||
"build": "npm run build:ts", | ||
"build": "npm run build:meta && npm run build:ts", | ||
"build:meta": "npm run ts -- ./tools/update-meta.ts", | ||
"build:ts": "tsc --project ./tsconfig.build.json", | ||
@@ -48,3 +49,4 @@ "clean": "rimraf .nyc_output dist coverage", | ||
"yaml", | ||
"yml" | ||
"yml", | ||
"lint" | ||
], | ||
@@ -62,3 +64,3 @@ "author": "Yosuke Ota", | ||
"natural-compare": "^1.4.0", | ||
"yaml-eslint-parser": "^1.1.0" | ||
"yaml-eslint-parser": "^1.2.1" | ||
}, | ||
@@ -104,3 +106,3 @@ "peerDependencies": { | ||
"mocha": "^10.0.0", | ||
"monaco-editor": "^0.35.0", | ||
"monaco-editor": "^0.38.0", | ||
"nyc": "^15.1.0", | ||
@@ -112,5 +114,5 @@ "prettier": "^2.2.1", | ||
"stylelint-config-recommended-vue": "^1.0.0", | ||
"stylelint-config-standard": "^30.0.1", | ||
"stylelint-config-standard": "^33.0.0", | ||
"stylelint-stylus": "^0.18.0", | ||
"typescript": "~4.9.0", | ||
"typescript": "~5.0.0", | ||
"vue-eslint-editor": "^1.1.0", | ||
@@ -117,0 +119,0 @@ "vue-eslint-parser": "^9.0.0", |
@@ -210,2 +210,3 @@ # Introduction | ||
| [yml/no-tab-indent](https://ota-meshi.github.io/eslint-plugin-yml/rules/no-tab-indent.html) | disallow tabs for indentation. | | :star: | :star: | | ||
| [yml/no-trailing-zeros](https://ota-meshi.github.io/eslint-plugin-yml/rules/no-trailing-zeros.html) | disallow trailing zeros for floats | :wrench: | | | | ||
| [yml/plain-scalar](https://ota-meshi.github.io/eslint-plugin-yml/rules/plain-scalar.html) | require or disallow plain style scalar. | :wrench: | | :star: | | ||
@@ -212,0 +213,0 @@ | [yml/quotes](https://ota-meshi.github.io/eslint-plugin-yml/rules/quotes.html) | enforce the consistent use of either double, or single quotes | :wrench: | | :star: | |
253441
83
6048
284
Updatedyaml-eslint-parser@^1.2.1