UNPKG

eslint-plugin-vuoto

Version:

ESLint plugin for detecting and fixing whitespace issues - zero-width characters, non-breaking spaces, and Unicode normalization

7 lines (6 loc) 314 B
import fs from 'node:fs'; import path from 'node:path'; import { fileURLToPath } from 'node:url'; const __dirname = path.dirname(fileURLToPath(import.meta.url)); const packageJsonPath = path.resolve(__dirname, '../../package.json'); export const packageJson = JSON.parse(fs.readFileSync(packageJsonPath, 'utf8'));