UNPKG

eslint-config-alloy

Version:
153 lines (152 loc) 4.43 kB
{ "name": "eslint-config-alloy", "version": "5.1.2", "description": "AlloyTeam ESLint 规则", "keywords": [ "eslint", "eslintrc", "eslintconfig", "config", "alloy", "alloyteam", "javascript", "styleguide", "react", "vue", "typescript" ], "homepage": "https://alloyteam.github.io/eslint-config-alloy/", "bugs": { "url": "https://github.com/AlloyTeam/eslint-config-alloy/issues" }, "repository": { "type": "git", "url": "git+https://github.com/AlloyTeam/eslint-config-alloy.git" }, "license": "MIT", "author": "xcatliu <xcatliu@gmail.com>", "contributors": [ "heyli <lcxfs1991@gmail.com>", "Xuing <admin@xuing.cn>", "Dash Chen <dc3671@users.noreply.github.com>", "DiamondYuan <admin@diamondyuan.com>", "Roy Revelt <roy@codsen.com>", "Swan <1021808625@qq.com>", "kenve <zwei.xie@gmail.com>", "lzw <mingxin2014@gmail.com>", "ryoliu <sfesh@163.com>", "sunhui04 <sunhui04@meituan.com>", "zoubingwu <zoubingwu@gmail.com>" ], "main": "index.js", "scripts": { "start": "pnpm dev", "dev": "run-p dev:*", "dev:eslintrc": "nodemon", "dev:copyfiles": "pnpm build:copyfiles && chokidar \"site/public/**/*\" -c \"pnpm build:copyfiles\"", "dev:webpack-dev-server": "webpack serve --open", "build": "run-s build:*", "build:eslintrc": "ts-node scripts/build.ts", "build:clean": "rimraf dist", "build:copyfiles": "copyfiles -u 2 \"site/public/**/*\" dist/public", "build:site": "webpack", "clean": "rimraf dist node_modules && pnpm -r exec rm -rf node_modules dist", "test": "pnpm lint && ts-node ./test/index.ts", "lint": "run-s eslint prettier", "eslint": "eslint --ext .js,.jsx,.ts,.tsx,.vue --ignore-pattern \"bad.*\" .", "prettier": "prettier -l \"./**/*\"", "prettier:fix": "prettier --write -l \"./**/*\"", "prepare": "husky install", "update": "pnpm up --latest", "rulesCoverage": "ts-node ./scripts/rulesCoverage.ts" }, "lint-staged": { "package.json": "sort-package-json" }, "devDependencies": { "@babel/core": "^7.22.9", "@babel/eslint-parser": "^7.22.9", "@babel/preset-react": "^7.22.5", "@types/cookie": "^0.5.1", "@types/doctrine": "^0.0.5", "@types/eslint": "^8.44.1", "@types/node": "^20.4.5", "@types/prettier": "^2.7.3", "@types/react": "^18.2.16", "@types/react-dom": "^18.2.7", "@types/rimraf": "^4.0.5", "@types/xml-escape": "^1.1.1", "@typescript-eslint/eslint-plugin": "^6.2.0", "@typescript-eslint/parser": "^6.2.0", "chokidar-cli": "^3.0.0", "cookie": "^0.5.0", "copyfiles": "^2.4.1", "doctrine": "^3.0.0", "eslint": "^8.45.0", "eslint-config-prettier": "^8.9.0", "eslint-plugin-react": "^7.33.0", "eslint-plugin-vue": "^9.15.1", "html-webpack-plugin": "^5.5.3", "husky": "^8.0.3", "insert-tag": "^0.1.2", "lint-staged": "^13.2.3", "mobi-plugin-color": "^1.0.0", "mobi.css": "^3.1.1", "nodemon": "^3.0.1", "npm-run-all": "^4.1.5", "prettier": "^3.0.0", "querystring": "^0.2.1", "react": "^18.2.0", "react-dom": "^18.2.0", "react-tooltip": "4.5.1", "rimraf": "^5.0.1", "sort-package-json": "^2.5.1", "ts-loader": "^9.4.4", "ts-node": "^10.9.1", "typescript": "^5.1.6", "url": "^0.11.1", "vue-eslint-parser": "^9.3.1", "webpack": "^5.88.2", "webpack-cli": "^5.1.4", "webpack-dev-server": "^4.15.1", "xml-escape": "^1.1.0" }, "peerDependencies": { "@babel/eslint-parser": "7.x", "@babel/preset-react": "7.x", "@typescript-eslint/eslint-plugin": ">=5.55.0", "@typescript-eslint/parser": ">=5.0.0", "eslint": ">=8.24.0", "eslint-plugin-react": ">=7.31.8", "eslint-plugin-vue": ">=9.5.1", "typescript": "5.x", "vue-eslint-parser": "9.x" }, "peerDependenciesMeta": { "@babel/eslint-parser": { "optional": true }, "@babel/preset-react": { "optional": true }, "@typescript-eslint/eslint-plugin": { "optional": true }, "@typescript-eslint/parser": { "optional": true }, "eslint-plugin-react": { "optional": true }, "eslint-plugin-vue": { "optional": true }, "typescript": { "optional": true }, "vue-eslint-parser": { "optional": true } }, "packageManager": "pnpm@8.0.0" }