Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-processor-vue-blocks

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-processor-vue-blocks - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

26

dist/index.d.ts

@@ -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 @@ /**

11

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc