commit-cop 1.1.1 → 1.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/README.md +72 -15
  2. package/dist/hook.d.ts.map +1 -1
  3. package/dist/hook.js +8 -0
  4. package/dist/hook.js.map +1 -1
  5. package/dist/index.js +6 -0
  6. package/dist/index.js.map +1 -1
  7. package/dist/reporter.d.ts +1 -1
  8. package/dist/reporter.d.ts.map +1 -1
  9. package/dist/reporter.js +49 -21
  10. package/dist/reporter.js.map +1 -1
  11. package/dist/runScan.d.ts.map +1 -1
  12. package/dist/runScan.js +1 -7
  13. package/dist/runScan.js.map +1 -1
  14. package/package.json +7 -2
  15. package/src/brand.ts +0 -3
  16. package/src/checks/binaryFileCheck.ts +0 -64
  17. package/src/checks/consoleLogCheck.ts +0 -40
  18. package/src/checks/debuggerCheck.ts +0 -33
  19. package/src/checks/envFileCheck.ts +0 -26
  20. package/src/checks/focusedTestCheck.ts +0 -41
  21. package/src/checks/generatedFolderCheck.ts +0 -45
  22. package/src/checks/junkFileCheck.ts +0 -40
  23. package/src/checks/largeFileCheck.ts +0 -31
  24. package/src/checks/localHostCheck.ts +0 -40
  25. package/src/checks/lockfileDriftCheck.ts +0 -40
  26. package/src/checks/mergeConflictCheck.ts +0 -41
  27. package/src/checks/secretCheck.ts +0 -60
  28. package/src/checks/sensitiveFilenameCheck.ts +0 -51
  29. package/src/checks/utils.ts +0 -62
  30. package/src/fix/debugCode.ts +0 -74
  31. package/src/fix/focusedTests.ts +0 -26
  32. package/src/fix/gitignore.ts +0 -108
  33. package/src/fix/junkFiles.ts +0 -16
  34. package/src/fix/lockfile.ts +0 -23
  35. package/src/fix/matchers.ts +0 -141
  36. package/src/fix/runFix.ts +0 -96
  37. package/src/fix/unstage.ts +0 -25
  38. package/src/fix/utils.ts +0 -50
  39. package/src/git.ts +0 -17
  40. package/src/hook.ts +0 -98
  41. package/src/index.ts +0 -59
  42. package/src/reporter.ts +0 -88
  43. package/src/runScan.ts +0 -35
  44. package/src/scanner.ts +0 -44
  45. package/src/types.ts +0 -25
  46. package/test.ts +0 -6
  47. package/testing.ts +0 -3
  48. package/tsconfig.json +0 -44
package/tsconfig.json DELETED
@@ -1,44 +0,0 @@
1
- {
2
- // Visit https://aka.ms/tsconfig to read more about this file
3
- "compilerOptions": {
4
- // File Layout
5
- "rootDir": "./src",
6
- "outDir": "./dist",
7
-
8
- // Environment Settings
9
- // See also https://aka.ms/tsconfig/module
10
- "module": "nodenext",
11
- "allowImportingTsExtensions": true,
12
- "rewriteRelativeImportExtensions": true,
13
- "target": "esnext",
14
- "lib": ["esnext"],
15
- "types": ["node"],
16
-
17
- // Other Outputs
18
- "sourceMap": true,
19
- "declaration": true,
20
- "declarationMap": true,
21
-
22
- // Stricter Typechecking Options
23
- "noUncheckedIndexedAccess": true,
24
- "exactOptionalPropertyTypes": true,
25
-
26
- // Style Options
27
- // "noImplicitReturns": true,
28
- // "noImplicitOverride": true,
29
- // "noUnusedLocals": true,
30
- // "noUnusedParameters": true,
31
- // "noFallthroughCasesInSwitch": true,
32
- // "noPropertyAccessFromIndexSignature": true,
33
-
34
- // Recommended Options
35
- "strict": true,
36
- "jsx": "react-jsx",
37
- "verbatimModuleSyntax": true,
38
- "isolatedModules": true,
39
- "noUncheckedSideEffectImports": true,
40
- "moduleDetection": "force",
41
- "skipLibCheck": true,
42
- },
43
- "include": ["src"]
44
- }