-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #415 from mountaindude/353-2
353
- Loading branch information
Showing
54 changed files
with
9,958 additions
and
8,850 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,44 @@ | ||
version: "2" # required to adjust maintainability checks | ||
version: '2' # required to adjust maintainability checks | ||
plugins: | ||
eslint: | ||
enabled: true | ||
fixme: | ||
enabled: true | ||
markdownlint: | ||
enabled: true | ||
nodesecurity: | ||
enabled: true | ||
eslint: | ||
enabled: true | ||
fixme: | ||
enabled: true | ||
markdownlint: | ||
enabled: true | ||
nodesecurity: | ||
enabled: true | ||
|
||
checks: | ||
argument-count: | ||
config: | ||
threshold: 6 | ||
complex-logic: | ||
config: | ||
threshold: 4 | ||
file-lines: | ||
config: | ||
threshold: 350 | ||
method-complexity: | ||
config: | ||
threshold: 20 | ||
method-count: | ||
config: | ||
threshold: 20 | ||
method-lines: | ||
config: | ||
threshold: 125 | ||
nested-control-flow: | ||
config: | ||
threshold: 4 | ||
return-statements: | ||
config: | ||
threshold: 4 | ||
similar-code: | ||
enabled: false | ||
identical-code: | ||
config: | ||
threshold: # language-specific defaults. an override will affect all languages. | ||
argument-count: | ||
config: | ||
threshold: 6 | ||
complex-logic: | ||
config: | ||
threshold: 4 | ||
file-lines: | ||
config: | ||
threshold: 350 | ||
method-complexity: | ||
config: | ||
threshold: 20 | ||
method-count: | ||
config: | ||
threshold: 20 | ||
method-lines: | ||
config: | ||
threshold: 125 | ||
nested-control-flow: | ||
config: | ||
threshold: 4 | ||
return-statements: | ||
config: | ||
threshold: 4 | ||
similar-code: | ||
enabled: false | ||
identical-code: | ||
config: | ||
threshold: # language-specific defaults. an override will affect all languages. | ||
|
||
exclude_patterns: | ||
- "**/node_modules/" | ||
- '**/node_modules/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,38 @@ | ||
repos: | ||
- repo: https://github.com/gitguardian/ggshield | ||
rev: v1.12.0 | ||
hooks: | ||
- id: ggshield | ||
language_version: python3 | ||
stages: [commit] | ||
- repo: https://github.com/gitguardian/ggshield | ||
rev: v1.12.0 | ||
hooks: | ||
- id: ggshield | ||
language_version: python3 | ||
stages: [commit] | ||
|
||
# - repo: https://github.com/pre-commit/mirrors-jshint | ||
# rev: '' # Use the sha / tag you want to point at | ||
# hooks: | ||
# - id: jshint | ||
# - repo: https://github.com/pre-commit/mirrors-jshint | ||
# rev: '' # Use the sha / tag you want to point at | ||
# hooks: | ||
# - id: jshint | ||
|
||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: "v2.7.1" # Use the sha / tag you want to point at | ||
hooks: | ||
- id: prettier | ||
exclude: | | ||
(?x)^( | ||
.github/.*| | ||
src/config/.*| | ||
src/CHANGELOG.md| | ||
src/config/.*| | ||
changelog.md | ||
)$ | ||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: 'v2.7.1' # Use the sha / tag you want to point at | ||
hooks: | ||
- id: prettier | ||
exclude: | | ||
(?x)^( | ||
.github/.*| | ||
src/config/.*| | ||
src/CHANGELOG.md| | ||
src/config/.*| | ||
changelog.md | ||
)$ | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 # Use the ref you want to point at | ||
hooks: | ||
- id: check-case-conflict | ||
- id: check-json | ||
exclude: | | ||
(?x)^( | ||
.vscode/launch.json | ||
)$ | ||
- id: check-xml | ||
- id: check-yaml | ||
- id: detect-private-key | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 # Use the ref you want to point at | ||
hooks: | ||
- id: check-case-conflict | ||
- id: check-json | ||
exclude: | | ||
(?x)^( | ||
.vscode/launch.json | ||
)$ | ||
- id: check-xml | ||
- id: check-yaml | ||
- id: detect-private-key |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
dist | ||
node_modules/** | ||
node_modules/** | ||
vis-network.min.js | ||
package-lock.json | ||
CHANGELOG.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"src":"3.15.1"} | ||
{ "src": "3.15.1" } |
Oops, something went wrong.