@lwc/eslint-plugin-lwc
Version:
Official ESLint rules for LWC
91 lines (90 loc) • 1.93 kB
JSON
{
"name": "@lwc/eslint-plugin-lwc",
"version": "3.5.0",
"license": "MIT",
"description": "Official ESLint rules for LWC",
"keywords": [
"eslint",
"eslint-plugin",
"lwc",
"salesforce"
],
"main": "lib/index.js",
"scripts": {
"prepare": "husky || true",
"format": "prettier --write --ignore-path .gitignore \"**/*.{js,md}\"",
"format:check": "prettier --check --ignore-path .gitignore \"**/*.{js,md}\"",
"lint": "eslint lib/ test/",
"test": "nyc mocha",
"release:version": "npm version",
"release:publish": "npm publish --registry=https://registry.npmjs.org"
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/eslint-parser": "^7.25.9",
"@babel/preset-typescript": "^7.24.6",
"@eslint/js": "^9.17.0",
"eslint": "^9.17.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"mocha": "^10.4.0",
"nyc": "^15.1.0",
"prettier": "^3.2.5",
"semver": "^7.6.0",
"sinon": "^19.0.2",
"chai": "4.3.7"
},
"dependencies": {
"fast-xml-parser": "^5.3.6",
"globals": "~15.14.0",
"minimatch": "~9.0.4"
},
"peerDependencies": {
"@babel/eslint-parser": "^7",
"eslint": "^9"
},
"repository": {
"type": "git",
"url": "https://github.com/salesforce/eslint-plugin-lwc.git"
},
"engines": {
"node": ">=10.0.0"
},
"volta": {
"node": "24.11.0",
"yarn": "1.22.22"
},
"files": [
"lib"
],
"lint-staged": {
"*.js": [
"eslint"
],
"*.{js,md}": [
"prettier --write"
]
},
"mocha": {
"recursive": true,
"reporter": "dot",
"slow": 150
},
"nyc": {
"check-coverage": true,
"per-file": true,
"lines": 93,
"statements": 93,
"functions": 88,
"reporter": [
"html",
"text"
]
},
"prettier": {
"printWidth": 100,
"tabWidth": 4,
"singleQuote": true,
"trailingComma": "all"
}
}