UNPKG

eslint-plugin-regexp

Version:

ESLint plugin for finding RegExp mistakes and RegExp style guide violations.

124 lines (123 loc) 4.71 kB
{ "name": "eslint-plugin-regexp", "version": "2.5.0", "description": "ESLint plugin for finding RegExp mistakes and RegExp style guide violations.", "engines": { "node": "^18 || >=20" }, "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "prebuild": "npm run -s clean", "build": "tsc --project ./tsconfig.build.json", "clean": "rimraf .nyc_output dist coverage", "lint": "npm-run-all \"lint:*\"", "lint:js": "eslint . --ext .js,.vue,.ts,.json,.yaml,.yml", "lint:docs": "markdownlint \"**/*.md\"", "eslint-fix": "eslint . --ext .js,.vue,.ts,.json,.yaml,.yml --fix", "pretest": "npm run build", "test:base": "mocha --require ts-node/register/transpile-only \"tests/**/*.ts\" --reporter dot --timeout 60000", "test": "npm run test:nyc", "test:nyc": "nyc --reporter=lcov npm run test:base", "test:watch": "npm run test:base -- --watch", "test:update": "npm run test:base -- --update", "update": "ts-node --transpile-only ./tools/update.ts && npm run eslint-fix && npm run update:eslint-docs", "update:eslint-docs": "npm run build && eslint-doc-generator", "new": "ts-node ./tools/new-rule.ts", "docs:watch": "vitepress dev docs", "docs:build": "vitepress build docs", "docs:build-and-preview": "npm run docs:build && npx http-server docs/.vitepress/dist", "preversion": "npm test && git add .", "version": "env-cmd -e version npm run update && git add .", "preversion:ci": "npm test", "version:ci": "env-cmd -e version-ci npm run update && changeset version", "prerelease": "npm run clean && npm run build", "release": "changeset publish" }, "repository": { "type": "git", "url": "git+https://github.com/ota-meshi/eslint-plugin-regexp.git" }, "keywords": [ "eslint", "eslintplugin", "eslint-plugin", "regexp", "regex" ], "author": "Yosuke Ota (https://github.com/ota-meshi)", "contributors": [ "Michael Schmidt (https://github.com/RunDevelopment)" ], "license": "MIT", "bugs": { "url": "https://github.com/ota-meshi/eslint-plugin-regexp/issues" }, "homepage": "https://github.com/ota-meshi/eslint-plugin-regexp#readme", "peerDependencies": { "eslint": ">=8.44.0" }, "devDependencies": { "@changesets/cli": "^2.26.2", "@ota-meshi/eslint-plugin": "^0.15.1", "@ota-meshi/site-kit-eslint-editor-vue": "^0.1.2", "@svitejs/changesets-changelog-github-compact": "^1.1.0", "@types/chai": "^4.2.22", "@types/eslint": "^8.44.0", "@types/eslint-scope": "^3.7.1", "@types/estree": "^1.0.0", "@types/mocha": "^10.0.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^7.0.0", "@typescript-eslint/parser": "^7.0.0", "assert": "^2.0.0", "chai": "^4.3.4", "env-cmd": "^10.1.0", "eslint": "^8.44.0", "eslint-config-prettier": "^9.0.0", "eslint-doc-generator": "^1.7.0", "eslint-import-resolver-typescript": "^3.6.1", "eslint-plugin-eslint-comments": "^3.2.0", "eslint-plugin-eslint-plugin": "^5.2.1", "eslint-plugin-import": "^2.29.1", "eslint-plugin-json-schema-validator": "^5.0.0", "eslint-plugin-jsonc": "^2.0.0", "eslint-plugin-n": "^16.0.0", "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-regexp": "~2.4.0", "eslint-plugin-vue": "^9.0.0", "eslint-plugin-yml": "^1.0.0", "eslint-snapshot-rule-tester": "^0.1.0", "intl-segmenter-polyfill": "^0.4.4", "markdownlint-cli": "^0.39.0", "mocha": "^10.0.0", "mocha-chai-jest-snapshot": "^1.1.3", "npm-run-all2": "^6.0.0", "nyc": "^15.1.0", "pako": "^2.1.0", "prettier": "~3.2.0", "semver": "^7.5.4", "stylelint": "^16.0.0", "stylelint-config-standard-vue": "^1.0.0", "ts-node": "^10.2.1", "typescript": "~5.4.0", "vite-plugin-eslint4b": "^0.2.3", "vitepress": "^1.0.0", "vue-eslint-parser": "^9.0.0" }, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.9.1", "comment-parser": "^1.4.0", "jsdoc-type-pratt-parser": "^4.0.0", "refa": "^0.12.1", "regexp-ast-analysis": "^0.7.1", "scslre": "^0.3.0" }, "publishConfig": { "access": "public" } }