sentinel-scanner 2.4.1 → 2.5.0

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 (63) hide show
  1. package/.cspell.json +19 -51
  2. package/.github/ISSUE_TEMPLATE/config.yml +1 -1
  3. package/.github/PULL_REQUEST_TEMPLATE.md +2 -2
  4. package/.github/workflows/stale.yaml +20 -0
  5. package/.github/workflows/webapp-scanner.yml +31 -19
  6. package/.github/workflows/welcome.yaml +9 -55
  7. package/.husky/pre-commit +35 -0
  8. package/.vscode/extensions.json +7 -0
  9. package/.vscode/launch.json +20 -0
  10. package/.vscode/settings.json +32 -0
  11. package/.vscode/tasks.json +24 -0
  12. package/CHANGELOG.md +7 -3
  13. package/CODE_OF_CONDUCT.md +4 -1
  14. package/CONTRIBUTING.md +2 -2
  15. package/README.md +5 -0
  16. package/api-extractor.json +30 -30
  17. package/biome.json +6 -32
  18. package/build/index.d.ts +0 -147
  19. package/build/index.js +111 -2633
  20. package/package.json +69 -102
  21. package/scripts/build.ts +68 -78
  22. package/scripts/test.ts +55 -0
  23. package/src/__tests__/spider.test.ts +44 -0
  24. package/src/commands/spider.ts +61 -126
  25. package/src/index.ts +23 -26
  26. package/src/spider/index.ts +345 -0
  27. package/src/spider/types/index.ts +21 -0
  28. package/src/spider/types/schema.ts +54 -0
  29. package/src/utils/index.ts +199 -3
  30. package/tsconfig.json +19 -18
  31. package/.github/assets/header.png +0 -0
  32. package/.github/dependabot.yml +0 -11
  33. package/.github/workflows/pr.yaml +0 -64
  34. package/.nsprc +0 -3
  35. package/build/bin.js +0 -2679
  36. package/build/xhr-sync-worker.js +0 -59
  37. package/docs/CNAME +0 -1
  38. package/docs/disclaimer.md +0 -68
  39. package/docs/headers/details.md +0 -114
  40. package/docs/headers/index.md +0 -73
  41. package/docs/index.md +0 -82
  42. package/docs/ports/index.md +0 -86
  43. package/docs/scoring.md +0 -91
  44. package/docs/spider/index.md +0 -61
  45. package/docs/sql-injection/details.md +0 -109
  46. package/docs/sql-injection/index.md +0 -73
  47. package/docs/xss/details.md +0 -92
  48. package/docs/xss/index.md +0 -73
  49. package/scripts/extras/document-shim.js +0 -4
  50. package/src/bin.ts +0 -29
  51. package/src/commands/header.ts +0 -150
  52. package/src/commands/ports.ts +0 -175
  53. package/src/commands/sqli.ts +0 -150
  54. package/src/commands/xss.ts +0 -149
  55. package/src/modules/headers/headers.ts +0 -161
  56. package/src/modules/headers/index.ts +0 -179
  57. package/src/modules/ports/index.ts +0 -311
  58. package/src/modules/spider/index.ts +0 -178
  59. package/src/modules/sqli/index.ts +0 -486
  60. package/src/modules/sqli/payloads.json +0 -156
  61. package/src/modules/xss/index.ts +0 -401
  62. package/src/modules/xss/payloads.json +0 -2692
  63. package/src/utils/types.ts +0 -7
package/.cspell.json CHANGED
@@ -1,53 +1,21 @@
1
1
  {
2
- "version": "0.2",
3
- "language": "en",
4
- "words": [
5
- "acmr",
6
- "clickjacking",
7
- "codebases",
8
- "cvssify",
9
- "datetime",
10
- "degit",
11
- "domcontentloaded",
12
- "dynsrc",
13
- "dynsrcs",
14
- "esbuild",
15
- "esportzvio",
16
- "exploitability",
17
- "hrefs",
18
- "JDBC",
19
- "joomla",
20
- "khtml",
21
- "longdesc",
22
- "longdescs",
23
- "lowsrc",
24
- "lowsrcs",
25
- "muzaffarpur",
26
- "networkidle",
27
- "nosniff",
28
- "Npgsql",
29
- "octocat",
30
- "outdir",
31
- "rebackk",
32
- "rmrf",
33
- "SAMEORIGIN",
34
- "socio",
35
- "Sqli",
36
- "srcs",
37
- "Subscore",
38
- "Sybase",
39
- "tsdoc",
40
- "webapp-scanner",
41
- "wordlist",
42
- "workerpool",
43
- "xlink"
44
- ],
45
- "flagWords": [],
46
- "ignorePaths": [
47
- "package.json",
48
- "package-lock.json",
49
- "yarn.lock",
50
- "tsconfig.json",
51
- "node_modules/**"
52
- ]
2
+ "version": "0.2",
3
+ "language": "en",
4
+ "words": [
5
+ "cvssify",
6
+ "Esportzvio",
7
+ "Exploitability",
8
+ "octocat",
9
+ "Rebackk",
10
+ "Subscore",
11
+ "webapp-scanner"
12
+ ],
13
+ "flagWords": [],
14
+ "ignorePaths": [
15
+ "package.json",
16
+ "package-lock.json",
17
+ "yarn.lock",
18
+ "tsconfig.json",
19
+ "node_modules/**"
20
+ ]
53
21
  }
@@ -1,5 +1,5 @@
1
1
  blank_issues_enabled: false
2
2
  contact_links:
3
3
  - name: GitHub Discussions
4
- url: https://github.com/RebackkHQ/sentinel-scanner/discussions
4
+ url: https://github.com/0xsarwagya/webapp-scanner/discussions
5
5
  about: Please discuss non bug-related topics there
@@ -1,7 +1,7 @@
1
- # Fixes
1
+ Fixes #
2
2
 
3
3
  ## Description of the changes
4
4
 
5
5
  -
6
6
  -
7
- -
7
+ -
@@ -0,0 +1,20 @@
1
+ name: Close Stale Pull Requests
2
+
3
+ permissions: "write-all"
4
+
5
+ on:
6
+ schedule:
7
+ - cron: "0 0 * * *"
8
+
9
+ jobs:
10
+ close_stale_prs:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - name: Close stale pull requests
14
+ uses: actions/stale@v5
15
+ with:
16
+ stale-issue-message: "This pull request has been automatically closed because it has been inactive for more than 14 days. Please reopen if you still intend to submit this pull request."
17
+ days-before-stale: 14
18
+ days-before-close: 0
19
+ stale-pr-message: "This pull request has been marked as stale because it has been inactive for more than 14 days. Please update this pull request or it will be automatically closed in 7 days."
20
+ stale-pr-label: stale
@@ -1,27 +1,27 @@
1
- name: "sentinel-scanner"
2
-
3
- on: [push]
1
+ name: webapp-scanner
4
2
 
5
3
  permissions: "write-all"
6
4
 
5
+ on: [push]
6
+
7
7
  env:
8
8
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
9
9
 
10
10
  jobs:
11
11
  dependencies:
12
12
  name: 📦 Dependencies
13
- runs-on: macos-latest
13
+ runs-on: ubuntu-latest
14
14
  steps:
15
15
  - uses: actions/checkout@v4
16
16
  - uses: actions/setup-node@v4
17
17
  with:
18
18
  node-version-file: package.json
19
19
  cache: "npm"
20
- - run: npm ci && npm install -g better-npm-audit
20
+ - run: npm ci
21
21
 
22
22
  lint:
23
23
  name: 🔬 Lint & Format
24
- runs-on: macos-latest
24
+ runs-on: ubuntu-latest
25
25
  needs: [dependencies]
26
26
  steps:
27
27
  - uses: actions/checkout@v4
@@ -31,11 +31,11 @@ jobs:
31
31
  cache: "npm"
32
32
  - run: npm ci
33
33
  - name: 🔬 Lint & Format
34
- run: npm run lint:check
34
+ run: node --run lint:check
35
35
 
36
36
  audit:
37
37
  name: 🛡️ Audit
38
- runs-on: macos-latest
38
+ runs-on: ubuntu-latest
39
39
  needs: [dependencies]
40
40
  steps:
41
41
  - uses: actions/checkout@v4
@@ -43,14 +43,12 @@ jobs:
43
43
  with:
44
44
  node-version-file: package.json
45
45
  cache: "npm"
46
- - name: Install better-npm-audit
47
- run: npm install -g better-npm-audit
48
46
  - name: 🛡️ Audit
49
- run: npm run audit
47
+ run: npm audit --audit-level=high
50
48
 
51
49
  spell:
52
50
  name: 🈸 Spellcheck
53
- runs-on: macos-latest
51
+ runs-on: ubuntu-latest
54
52
  needs: [dependencies]
55
53
  steps:
56
54
  - uses: actions/checkout@v4
@@ -60,11 +58,11 @@ jobs:
60
58
  cache: "npm"
61
59
  - run: npm ci
62
60
  - name: 🈸 Spellcheck
63
- run: npm run spell:check
61
+ run: node --run spell:check
64
62
 
65
63
  type:
66
64
  name: ʦ Typecheck
67
- runs-on: macos-latest
65
+ runs-on: ubuntu-latest
68
66
  needs: [dependencies]
69
67
  steps:
70
68
  - uses: actions/checkout@v4
@@ -74,12 +72,26 @@ jobs:
74
72
  cache: "npm"
75
73
  - run: npm ci
76
74
  - name: ʦ Typecheck
77
- run: npm run type:check
75
+ run: node --run type:check
76
+
77
+ test:
78
+ name: ⚡ Tests
79
+ runs-on: ubuntu-latest
80
+ needs: [dependencies]
81
+ steps:
82
+ - uses: actions/checkout@v4
83
+ - uses: actions/setup-node@v4
84
+ with:
85
+ node-version-file: package.json
86
+ cache: "npm"
87
+ - run: npm ci
88
+ - name: ⚡ Tests
89
+ run: node --run test:coverage
78
90
 
79
91
  build-and-release:
80
92
  name: 🚀 Build & release
81
- needs: [lint, audit, spell, type]
82
- runs-on: macos-latest
93
+ needs: [lint, audit, spell, type, test]
94
+ runs-on: ubuntu-latest
83
95
  steps:
84
96
  - uses: actions/checkout@v4
85
97
  - uses: actions/setup-node@v4
@@ -88,9 +100,9 @@ jobs:
88
100
  cache: "npm"
89
101
  - run: npm ci
90
102
  - name: 🔨 Build
91
- run: npm run build
103
+ run: node --run build
92
104
  - name: 🚀 Release
93
105
  env:
94
106
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
95
107
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
96
- run: npm run semantic-release
108
+ run: node --run semantic-release
@@ -1,66 +1,20 @@
1
- name: Welcome Comments
1
+ name: "Welcome New Contributors"
2
2
 
3
3
  permissions: "write-all"
4
4
 
5
5
  on:
6
6
  issues:
7
- types: [opened, closed]
7
+ types: [opened]
8
8
  pull_request_target:
9
- types: [opened, closed]
9
+ types: [opened]
10
10
 
11
11
  jobs:
12
- welcomer:
12
+ welcome-new-contributor:
13
13
  runs-on: ubuntu-latest
14
14
  steps:
15
- - name: Auto Welcome on Issues or PRs
16
- uses: actions/github-script@v6
15
+ - name: "Greet the contributor"
16
+ uses: garg3133/welcome-new-contributors@v1.2
17
17
  with:
18
- github-token: ${{ secrets.GITHUB_TOKEN }}
19
- script: |
20
- const author = context.payload.sender.login;
21
- const commentBody = (message) => `👋 @${author} 👋\n\n${message}`;
22
-
23
- if (context.eventName === 'issues') {
24
- const issue = context.payload.issue;
25
-
26
- if (context.payload.action === 'opened') {
27
- const message = `We're thrilled to see you opening an issue! Your input is valuable to us. Don’t forget to fill out our issue template for the best experience. We will look into it soon.`;
28
- github.rest.issues.createComment({
29
- issue_number: issue.number,
30
- owner: context.repo.owner,
31
- repo: context.repo.repo,
32
- body: commentBody(message),
33
- });
34
- } else if (context.payload.action === 'closed') {
35
- const message = `Thanks for closing the issue! We appreciate your updates.`;
36
- github.rest.issues.createComment({
37
- issue_number: issue.number,
38
- owner: context.repo.owner,
39
- repo: context.repo.repo,
40
- body: commentBody(message),
41
- });
42
- }
43
- } else if (context.eventName === 'pull_request_target') {
44
- const pr = context.payload.pull_request;
45
-
46
- if (context.payload.action === 'opened') {
47
- const message = `We're delighted to have your pull request! Please take a moment to check our contributing guidelines and ensure you've filled out the PR template for a smooth process. We will review it soon.`;
48
- github.rest.issues.createComment({
49
- issue_number: pr.number,
50
- owner: context.repo.owner,
51
- repo: context.repo.repo,
52
- body: commentBody(message),
53
- });
54
- } else if (context.payload.action === 'closed') {
55
- const message = pr.merged
56
- ? `🎉 You've just merged your pull request! We're excited to have you in our community. Keep up the fantastic contributions to the project!`
57
- : `Thanks for closing the pull request! Your contributions are valuable to us.`;
58
-
59
- github.rest.issues.createComment({
60
- issue_number: pr.number,
61
- owner: context.repo.owner,
62
- repo: context.repo.repo,
63
- body: commentBody(message),
64
- });
65
- }
66
- }
18
+ token: ${{ secrets.GITHUB_TOKEN }}
19
+ issue-message: "Hello there, thanks for opening your first issue. We welcome you to the community!"
20
+ pr-message: "Hello there, thanks for opening your first Pull Request. Someone will review it soon."
@@ -0,0 +1,35 @@
1
+ #!/bin/sh
2
+
3
+ # Store the staged files and biome.json in variables
4
+ STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACMR)
5
+ BIOME_FILE=$(git ls-files --full-name --error-unmatch biome.json)
6
+
7
+ # Combine the staged files and biome.json
8
+ STAGED_FILES="$STAGED_FILES"$'\n'"$BIOME_FILE"
9
+
10
+ # Exit early if no relevant files are staged
11
+ if [ -z "$STAGED_FILES" ]; then
12
+ echo "No relevant files to check."
13
+ exit 0
14
+ fi
15
+
16
+ # Create a temporary file to store the file list
17
+ TEMP_FILE=$(mktemp)
18
+ echo "$STAGED_FILES" >"$TEMP_FILE"
19
+
20
+ # Run Biome check on the files from the temp file
21
+ xargs biome check --write --unsafe <"$TEMP_FILE"
22
+ CHECK_RESULT=$?
23
+
24
+ # Clean up the temporary file
25
+ rm "$TEMP_FILE"
26
+
27
+ # If Biome made changes, add them back to staging
28
+ if [ $CHECK_RESULT -eq 0 ]; then
29
+ echo "$STAGED_FILES" | xargs git add
30
+
31
+ exit 0
32
+ else
33
+ echo "Biome check failed. Please fix the issues and try again."
34
+ exit 1
35
+ fi
@@ -0,0 +1,7 @@
1
+ {
2
+ "recommendations": [
3
+ "biomejs.biome",
4
+ "eamodio.gitlens",
5
+ "streetsidesoftware.code-spell-checker"
6
+ ]
7
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "version": "0.2.0",
3
+ "configurations": [
4
+ {
5
+ "type": "node",
6
+ "request": "launch",
7
+ "name": "Debug Current Test File",
8
+ "autoAttachChildProcesses": true,
9
+ "skipFiles": ["<node_internals>/**", "**/node_modules/**"],
10
+ "program": "${relativeFile}",
11
+ "runtimeArgs": [
12
+ "--import=@nitrogql/esbuild-register",
13
+ "--inspect",
14
+ "--test"
15
+ ],
16
+ "smartStep": true,
17
+ "console": "integratedTerminal"
18
+ }
19
+ ]
20
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "cSpell.userWords": [],
3
+ "cSpell.enabled": true,
4
+ "editor.formatOnSave": true,
5
+ "typescript.tsdk": "node_modules/typescript/lib",
6
+ "typescript.enablePromptUseWorkspaceTsdk": true,
7
+ "files.associations": { "*.json": "jsonc" },
8
+ "editor.indentSize": 2,
9
+ "editor.insertSpaces": false,
10
+ "editor.detectIndentation": false,
11
+ "[javascript]": {
12
+ "editor.defaultFormatter": "biomejs.biome"
13
+ },
14
+ "[javascriptreact]": {
15
+ "editor.defaultFormatter": "biomejs.biome"
16
+ },
17
+ "[typescript]": {
18
+ "editor.defaultFormatter": "biomejs.biome"
19
+ },
20
+ "[typescriptreact]": {
21
+ "editor.defaultFormatter": "biomejs.biome"
22
+ },
23
+ "[json]": {
24
+ "editor.defaultFormatter": "biomejs.biome"
25
+ },
26
+ "[jsonc]": {
27
+ "editor.defaultFormatter": "biomejs.biome"
28
+ },
29
+ "[jsonl]": {
30
+ "editor.defaultFormatter": "biomejs.biome"
31
+ }
32
+ }
@@ -0,0 +1,24 @@
1
+ {
2
+ "version": "2.0.0",
3
+ "tasks": [
4
+ {
5
+ "label": "Run Current Test File",
6
+ "type": "shell",
7
+ "command": "node",
8
+ "args": [
9
+ "--import=@nitrogql/esbuild-register",
10
+ "--test",
11
+ "${relativeFile}"
12
+ ],
13
+ "presentation": {
14
+ "clear": true,
15
+ "showReuseMessage": false,
16
+ "echo": false
17
+ },
18
+ "group": {
19
+ "kind": "test",
20
+ "isDefault": true
21
+ }
22
+ }
23
+ ]
24
+ }
package/CHANGELOG.md CHANGED
@@ -1,7 +1,11 @@
1
- ## [2.4.1](https://github.com/RebackkHQ/webapp-scanner/compare/v2.4.0...v2.4.1) (2024-11-24)
1
+ # [2.5.0](https://github.com/RebackkHQ/webapp-scanner/compare/v2.4.1...v2.5.0) (2024-12-02)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * **index:** removed Unwated Code ([55a8b13](https://github.com/RebackkHQ/webapp-scanner/commit/55a8b139da9a445b88e9b28febed31030a494472))
7
- * **index:** removed Unwated Code ([#62](https://github.com/RebackkHQ/webapp-scanner/issues/62)) ([5055bb3](https://github.com/RebackkHQ/webapp-scanner/commit/5055bb30af177c029009aa3921245cde78eb821a))
6
+ * **spider-command:** fixed Default Values In Commands ([54f282b](https://github.com/RebackkHQ/webapp-scanner/commit/54f282b332098cddd5d708bd8b792196eef05483))
7
+
8
+
9
+ ### Features
10
+
11
+ * **spider:** enhance type checking, concurrency handling, error handling, and return types ([821b96a](https://github.com/RebackkHQ/webapp-scanner/commit/821b96add1dff3ab773a4b3aff827620b2ef12eb))
@@ -1,5 +1,8 @@
1
1
  # Contributor Covenant Code of Conduct
2
2
 
3
+ ## Disclaimer
4
+ Please Check Our Disclaimer [Here](./DISCLAIMER.md)
5
+
3
6
  ## Our Pledge
4
7
 
5
8
  We as members, contributors, and leaders pledge to make participation in our
@@ -60,7 +63,7 @@ representative at an online or offline event.
60
63
 
61
64
  Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
65
  reported to the community leaders responsible for enforcement at
63
- hello@esportzvio.com.
66
+ team@rebackk.xyz.
64
67
  All complaints will be reviewed and investigated promptly and fairly.
65
68
 
66
69
  All community leaders are obligated to respect the privacy and security of the
package/CONTRIBUTING.md CHANGED
@@ -16,13 +16,13 @@ Please review our [Code of Conduct](./CODE_OF_CONDUCT.md). By participating, you
16
16
 
17
17
  ## :bulb: Asking Questions
18
18
 
19
- If you have any question that does not relate to a bug or a feature request, please use [GitHub Discussions](https://github.com/RebackkHQ/webapp-scanner/discussions) instead of GitHub issues.
19
+ If you have any question that does not relate to a bug or a feature request, please use [GitHub Discussions](https://github.com/0xsarwagya/webapp-scanner/discussions) instead of GitHub issues.
20
20
 
21
21
  ## :inbox_tray: How can I Contribute?
22
22
 
23
23
  **GitHub issues**
24
24
 
25
- If you encounter a problem with this library or if you have a new feature you'd like to see in this project, please create [a new issue](https://github.com/RebackkHQ/webapp-scanner/issues/new/choose).
25
+ If you encounter a problem with this library or if you have a new feature you'd like to see in this project, please create [a new issue](https://github.com/0xsarwagya/webapp-scanner/issues/new/choose).
26
26
 
27
27
  **GitHub Pull requests**
28
28
 
package/README.md CHANGED
@@ -1,4 +1,9 @@
1
1
  <p align="center" style="margin-top: 10px">
2
+ <p align="center">
3
+ <a href="https://www.npmjs.com/package/sniffa">
4
+ <img src='https://sentinel.rebackk.xyz/images/logo.png' height="100px" width="100px">
5
+ </a>
6
+ </p>
2
7
  <h1 align="center">
3
8
  Sentinel By Rebackk (Work in progress)
4
9
  <br />
@@ -1,33 +1,33 @@
1
1
  {
2
- "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
3
 
4
- "mainEntryPointFilePath": "<projectFolder>/build/index.d.ts",
5
- "bundledPackages": [],
6
- "apiReport": { "enabled": false },
7
- "docModel": { "enabled": false },
8
- "dtsRollup": {
9
- "enabled": true,
10
- "untrimmedFilePath": "<projectFolder>/trimmed.d.ts"
11
- },
12
- "tsdocMetadata": { "enabled": false },
13
- "messages": {
14
- "compilerMessageReporting": {
15
- "default": {
16
- "logLevel": "warning"
17
- }
18
- },
19
- "extractorMessageReporting": {
20
- "default": {
21
- "logLevel": "warning"
22
- },
23
- "ae-missing-release-tag": {
24
- "logLevel": "none"
25
- }
26
- },
27
- "tsdocMessageReporting": {
28
- "default": {
29
- "logLevel": "warning"
30
- }
31
- }
32
- }
4
+ "mainEntryPointFilePath": "<projectFolder>/build/index.d.ts",
5
+ "bundledPackages": [],
6
+ "apiReport": { "enabled": false },
7
+ "docModel": { "enabled": false },
8
+ "dtsRollup": {
9
+ "enabled": true,
10
+ "untrimmedFilePath": "<projectFolder>/trimmed.d.ts"
11
+ },
12
+ "tsdocMetadata": { "enabled": false },
13
+ "messages": {
14
+ "compilerMessageReporting": {
15
+ "default": {
16
+ "logLevel": "warning"
17
+ }
18
+ },
19
+ "extractorMessageReporting": {
20
+ "default": {
21
+ "logLevel": "warning"
22
+ },
23
+ "ae-missing-release-tag": {
24
+ "logLevel": "none"
25
+ }
26
+ },
27
+ "tsdocMessageReporting": {
28
+ "default": {
29
+ "logLevel": "warning"
30
+ }
31
+ }
32
+ }
33
33
  }
package/biome.json CHANGED
@@ -1,40 +1,14 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3
- "vcs": {
4
- "enabled": false,
5
- "clientKind": "git",
6
- "useIgnoreFile": false
7
- },
2
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
8
3
  "files": {
9
- "ignoreUnknown": false,
10
- "ignore": [
11
- "node_modules",
12
- "coverage",
13
- "build",
14
- "dist",
15
- "*.log",
16
- ".github",
17
- "scripts",
18
- "*.config.js",
19
- "*.json"
20
- ]
21
- },
22
- "formatter": {
23
- "enabled": true,
24
- "indentStyle": "tab"
25
- },
26
- "organizeImports": {
27
- "enabled": true
4
+ "ignore": ["build", "node_modules", "coverage", "package.json", "*.json"]
28
5
  },
29
6
  "linter": {
30
- "enabled": true,
31
7
  "rules": {
32
- "recommended": true
33
- }
34
- },
35
- "javascript": {
36
- "formatter": {
37
- "quoteStyle": "double"
8
+ "all": true,
9
+ "correctness": {
10
+ "noNodejsModules": "off"
11
+ }
38
12
  }
39
13
  }
40
14
  }