@nabla/vite-plugin-eslint
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,3 +6,3 @@ const chalk = require("chalk"); | ||
module.exports = function eslintPlugin(options = {}) { | ||
const { eslintOptions = {}, shouldLint = (path) => path.match(/.[jt]sx?$/) } = | ||
const { eslintOptions = {}, shouldLint = (path) => path.match(/\.[jt]sx?$/) } = | ||
options; | ||
@@ -9,0 +9,0 @@ const eslint = new ESLint({ cache: true, ...eslintOptions }); |
{ | ||
"name": "@nabla/vite-plugin-eslint", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Plugs ESLint into Vite dev server", |
@@ -39,2 +39,2 @@ # @nabla/vite-plugin-eslint | ||
- Type: `(path: string) => boolean` | ||
- Default: `(path) => path.match(/.[jt]sx?$/)` | ||
- Default: `(path) => path.match(/\.[jt]sx?$/)` |
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
64905