eslint-processor-vue-blocks
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -5,7 +5,31 @@ import { Linter } from 'eslint'; | ||
blocks?: { | ||
/** | ||
* Create virtual files for each `<style>` block | ||
* @default false | ||
*/ | ||
styles?: boolean; | ||
/** | ||
* Enable custom blocks | ||
* Pass an string array to specify custom block types, or `true` to enable all custom blocks | ||
* @default false | ||
*/ | ||
customBlocks?: boolean | string[]; | ||
/** | ||
* Create virtual files for each `<template>` block | ||
* Generally not recommended, as `eslint-plugin-vue` handles it | ||
* @default false | ||
*/ | ||
template?: boolean; | ||
/** | ||
* Create virtual files for each `<script>` block | ||
* Generally not recommended, as `eslint-plugin-vue` handles it | ||
* @default false | ||
*/ | ||
script?: boolean; | ||
/** | ||
* Create virtual files for each `<script setup>` block | ||
* Generally not recommended, as `eslint-plugin-vue` handles it | ||
* @default false | ||
*/ | ||
scriptSetup?: boolean; | ||
customBlocks?: boolean; | ||
}; | ||
@@ -12,0 +36,0 @@ /** |
{ | ||
"name": "eslint-processor-vue-blocks", | ||
"type": "module", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"packageManager": "pnpm@8.11.0", | ||
@@ -55,10 +55,5 @@ "description": "Create virtual files in ESLint for each Vue SFC block, so that you can lint them individually.", | ||
"peerDependencies": { | ||
"eslint": "^8.50.0", | ||
"vue": "^3.3.0" | ||
"@vue/compiler-sfc": "^3.3.0", | ||
"eslint": "^8.50.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"vue": { | ||
"optional": true | ||
} | ||
}, | ||
"devDependencies": { | ||
@@ -65,0 +60,0 @@ "@antfu/eslint-config": "^2.3.4", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18150
283