You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@nabla/vite-plugin-eslint

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.6.0 to 2.0.0

src/index.cjs

18

package.json
{
"name": "@nabla/vite-plugin-eslint",
"description": "Plugs ESLint into Vite dev server",
"version": "1.6.0",
"version": "2.0.0",
"license": "MIT",
"author": "Arnaud Barré (https://github.com/ArnaudBarre)",
"main": "src/index.js",
"type": "module",
"main": "index.cjs",
"types": "index.d.ts",
"module": "index.mjs",
"exports": {
".": {
"types": "./index.d.ts",
"require": "./index.cjs",
"import": "./index.mjs"
}
},
"files": [

@@ -25,4 +35,4 @@ "src"

"peerDependencies": {
"vite": "^2 || ^3 || ^4 || ^5",
"eslint": "*"
"eslint": "*",
"vite": "^4 || ^5"
},

@@ -29,0 +39,0 @@ "devDependencies": {

@@ -47,4 +47,5 @@ # @nabla/vite-plugin-eslint [![npm](https://img.shields.io/npm/v/@nabla/vite-plugin-eslint)](https://www.npmjs.com/package/@nabla/vite-plugin-eslint)

- Type: `string`
- Type: `string | ((result: ESLint.LintResult) => void)`
- Default: Custom format with one line per warning/error.
If provided, the value is passed to `eslint.loadFormatter`. Default to a custom format with one line per warning/error. Use `stylish` to get a CRA like output. Async formatters are supported in `1.5.0`.
If provided, the value is passed to `eslint.loadFormatter`. Use `stylish` to get a CRA like output. Async formatters are supported in `1.5.0`. Function support was added in `1.7.0`.

@@ -7,5 +7,5 @@ import { ESLint } from "eslint";

shouldLint?: (path: string) => boolean;
formatter?: string;
formatter?: string | ((result: ESLint.LintResult) => void);
}) => Plugin;
export default eslintPlugin;
SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc