eslint-plugin-yml
Advanced tools
Comparing version 1.13.0 to 1.13.1
import type { ESLint } from "eslint"; | ||
import * as parser from "yaml-eslint-parser"; | ||
declare const _default: { | ||
files: string[]; | ||
declare const _default: ({ | ||
plugins: { | ||
readonly yml: ESLint.Plugin; | ||
}; | ||
files?: undefined; | ||
languageOptions?: undefined; | ||
rules?: undefined; | ||
} | { | ||
files: string[]; | ||
languageOptions: { | ||
@@ -16,3 +20,4 @@ parser: typeof parser; | ||
}; | ||
}[]; | ||
plugins?: undefined; | ||
})[]; | ||
export default _default; |
@@ -29,3 +29,2 @@ "use strict"; | ||
{ | ||
files: ["*.yaml", "**/*.yaml", "*.yml", "**/*.yml"], | ||
plugins: { | ||
@@ -36,2 +35,5 @@ get yml() { | ||
}, | ||
}, | ||
{ | ||
files: ["*.yaml", "**/*.yaml", "*.yml", "**/*.yml"], | ||
languageOptions: { | ||
@@ -38,0 +40,0 @@ parser, |
declare const _default: ({ | ||
files: string[]; | ||
plugins: { | ||
readonly yml: import("eslint").ESLint.Plugin; | ||
}; | ||
files?: undefined; | ||
languageOptions?: undefined; | ||
rules?: undefined; | ||
} | { | ||
files: string[]; | ||
languageOptions: { | ||
@@ -14,2 +18,3 @@ parser: typeof import("yaml-eslint-parser"); | ||
}; | ||
plugins?: undefined; | ||
} | { | ||
@@ -16,0 +21,0 @@ rules: { |
declare const _default: ({ | ||
files: string[]; | ||
plugins: { | ||
readonly yml: import("eslint").ESLint.Plugin; | ||
}; | ||
files?: undefined; | ||
languageOptions?: undefined; | ||
rules?: undefined; | ||
} | { | ||
files: string[]; | ||
languageOptions: { | ||
@@ -14,2 +18,3 @@ parser: typeof import("yaml-eslint-parser"); | ||
}; | ||
plugins?: undefined; | ||
} | { | ||
@@ -16,0 +21,0 @@ rules: { |
declare const _default: ({ | ||
files: string[]; | ||
plugins: { | ||
readonly yml: import("eslint").ESLint.Plugin; | ||
}; | ||
files?: undefined; | ||
languageOptions?: undefined; | ||
rules?: undefined; | ||
} | { | ||
files: string[]; | ||
languageOptions: { | ||
@@ -14,2 +18,3 @@ parser: typeof import("yaml-eslint-parser"); | ||
}; | ||
plugins?: undefined; | ||
} | { | ||
@@ -16,0 +21,0 @@ rules: { |
@@ -72,19 +72,30 @@ import type { RuleModule } from "./types"; | ||
}; | ||
"flat/base": { | ||
plugins: string[]; | ||
overrides: { | ||
files: string[]; | ||
parser: string; | ||
rules: { | ||
"no-irregular-whitespace": string; | ||
"no-unused-vars": string; | ||
"spaced-comment": string; | ||
}; | ||
}[]; | ||
}; | ||
"flat/base": ({ | ||
plugins: { | ||
readonly yml: import("eslint").ESLint.Plugin; | ||
}; | ||
files?: undefined; | ||
languageOptions?: undefined; | ||
rules?: undefined; | ||
} | { | ||
files: string[]; | ||
languageOptions: { | ||
parser: typeof import("yaml-eslint-parser"); | ||
}; | ||
rules: { | ||
"no-irregular-whitespace": string; | ||
"no-unused-vars": string; | ||
"spaced-comment": string; | ||
}; | ||
plugins?: undefined; | ||
})[]; | ||
"flat/recommended": ({ | ||
files: string[]; | ||
plugins: { | ||
readonly yml: import("eslint").ESLint.Plugin; | ||
}; | ||
files?: undefined; | ||
languageOptions?: undefined; | ||
rules?: undefined; | ||
} | { | ||
files: string[]; | ||
languageOptions: { | ||
@@ -98,2 +109,3 @@ parser: typeof import("yaml-eslint-parser"); | ||
}; | ||
plugins?: undefined; | ||
} | { | ||
@@ -111,6 +123,10 @@ rules: { | ||
"flat/standard": ({ | ||
files: string[]; | ||
plugins: { | ||
readonly yml: import("eslint").ESLint.Plugin; | ||
}; | ||
files?: undefined; | ||
languageOptions?: undefined; | ||
rules?: undefined; | ||
} | { | ||
files: string[]; | ||
languageOptions: { | ||
@@ -124,2 +140,3 @@ parser: typeof import("yaml-eslint-parser"); | ||
}; | ||
plugins?: undefined; | ||
} | { | ||
@@ -150,6 +167,10 @@ rules: { | ||
"flat/prettier": ({ | ||
files: string[]; | ||
plugins: { | ||
readonly yml: import("eslint").ESLint.Plugin; | ||
}; | ||
files?: undefined; | ||
languageOptions?: undefined; | ||
rules?: undefined; | ||
} | { | ||
files: string[]; | ||
languageOptions: { | ||
@@ -163,2 +184,3 @@ parser: typeof import("yaml-eslint-parser"); | ||
}; | ||
plugins?: undefined; | ||
} | { | ||
@@ -165,0 +187,0 @@ rules: { |
@@ -33,3 +33,3 @@ "use strict"; | ||
const prettier_1 = __importDefault(require("./configs/prettier")); | ||
const base_2 = __importDefault(require("./configs/base")); | ||
const base_2 = __importDefault(require("./configs/flat/base")); | ||
const recommended_2 = __importDefault(require("./configs/flat/recommended")); | ||
@@ -36,0 +36,0 @@ const standard_2 = __importDefault(require("./configs/flat/standard")); |
@@ -1,2 +0,2 @@ | ||
export declare const name: "eslint-plugin-yml"; | ||
export declare const version: "1.13.0"; | ||
export declare const name = "eslint-plugin-yml"; | ||
export declare const version = "1.13.1"; |
@@ -5,2 +5,2 @@ "use strict"; | ||
exports.name = "eslint-plugin-yml"; | ||
exports.version = "1.13.0"; | ||
exports.version = "1.13.1"; |
{ | ||
"name": "eslint-plugin-yml", | ||
"version": "1.13.0", | ||
"version": "1.13.1", | ||
"description": "This ESLint plugin provides linting rules for YAML.", | ||
@@ -83,4 +83,4 @@ "main": "lib/index.js", | ||
"@types/semver": "^7.3.1", | ||
"@typescript-eslint/eslint-plugin": "^6.19.0", | ||
"@typescript-eslint/parser": "^6.19.0", | ||
"@typescript-eslint/eslint-plugin": "^7.0.0", | ||
"@typescript-eslint/parser": "^7.0.0", | ||
"cross-env": "^7.0.2", | ||
@@ -107,3 +107,3 @@ "env-cmd": "^10.1.0", | ||
"mocha": "^10.0.0", | ||
"monaco-editor": "^0.46.0", | ||
"monaco-editor": "^0.47.0", | ||
"nyc": "^15.1.0", | ||
@@ -118,3 +118,3 @@ "pako": "^2.1.0", | ||
"stylelint-stylus": "^1.0.0", | ||
"typescript": "~5.3.0", | ||
"typescript": "~5.4.0", | ||
"vite-plugin-eslint4b": "^0.2.3", | ||
@@ -121,0 +121,0 @@ "vitepress": "^1.0.0-rc.17", |
283934
6785