UNPKG

2.73 kBJSONView Raw
1{
2 "name": "@fluidframework/eslint-config-fluid",
3 "version": "3.1.0",
4 "description": "Shareable ESLint config for the Fluid Framework",
5 "homepage": "https://fluidframework.com",
6 "repository": {
7 "type": "git",
8 "url": "https://github.com/microsoft/FluidFramework.git",
9 "directory": "common/build/eslint-config-fluid"
10 },
11 "license": "MIT",
12 "author": "Microsoft and contributors",
13 "main": "index.js",
14 "dependencies": {
15 "@rushstack/eslint-patch": "~1.4.0",
16 "@rushstack/eslint-plugin": "~0.13.0",
17 "@rushstack/eslint-plugin-security": "~0.7.0",
18 "@typescript-eslint/eslint-plugin": "~6.7.2",
19 "@typescript-eslint/parser": "~6.7.2",
20 "eslint-config-prettier": "~9.0.0",
21 "eslint-import-resolver-typescript": "~3.6.1",
22 "eslint-plugin-eslint-comments": "~3.2.0",
23 "eslint-plugin-import": "npm:eslint-plugin-i@~2.29.0",
24 "eslint-plugin-jsdoc": "~46.8.1",
25 "eslint-plugin-promise": "~6.1.1",
26 "eslint-plugin-react": "~7.33.2",
27 "eslint-plugin-react-hooks": "~4.6.0",
28 "eslint-plugin-tsdoc": "~0.2.17",
29 "eslint-plugin-unicorn": "~48.0.1",
30 "eslint-plugin-unused-imports": "~3.0.0"
31 },
32 "devDependencies": {
33 "@fluidframework/build-common": "^2.0.3",
34 "concurrently": "^8.2.1",
35 "eslint": "~8.49.0",
36 "prettier": "~3.0.3",
37 "sort-json": "^2.0.1",
38 "typescript": "~4.5.5"
39 },
40 "packageManager": "pnpm@7.33.5+sha512.4e499f22fffe5845aa8f9463e1386b2d72c3134e0ebef9409360ad844fef0290e82b479b32eb2ec0f30e56607e1820c22167829fd62656d41a8fd0cc4a0f4267",
41 "scripts": {
42 "build": "npm run print-config && npm run prettier",
43 "cleanup-printed-configs": "node ./scripts/cleanup-printed-configs.js ./printed-configs",
44 "format": "npm run prettier:fix",
45 "prettier": "prettier --check . --ignore-path ../../../.prettierignore",
46 "prettier:fix": "prettier --write . --ignore-path ../../../.prettierignore",
47 "print-config": "concurrently \"npm:print-config:*\" && npm run cleanup-printed-configs",
48 "print-config:default": "eslint --config ./index.js --print-config ./src/file.ts > ./printed-configs/default.json",
49 "print-config:minimal": "eslint --config ./minimal.js --print-config ./src/file.ts > ./printed-configs/minimal.json",
50 "print-config:react": "eslint --config ./index.js --print-config ./src/file.tsx > ./printed-configs/react.json",
51 "print-config:recommended": "eslint --config ./recommended.js --print-config ./src/file.ts > ./printed-configs/recommended.json",
52 "print-config:strict": "eslint --config ./strict.js --print-config ./src/file.ts > ./printed-configs/strict.json",
53 "print-config:test": "eslint --config ./index.js --print-config ./src/test/file.ts > ./printed-configs/test.json"
54 }
55}
\No newline at end of file