forked from pulsar-edit/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Codacy Config, Eslint config, dependencies
- Loading branch information
1 parent
c599841
commit 952b618
Showing
4 changed files
with
453 additions
and
19 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
engines: | ||
duplication: | ||
minTokenMatch: 80 | ||
exclude_paths: | ||
- "./specs/fixtures" | ||
- "./packages/dev-live-reload/spec/fixtures/*" | ||
- "./packages/git-diff/spec/fixtures/*" | ||
- "./packages/go-to-line/spec/fixtures/*" | ||
- "./packages/grammar-selector/spec/fixutres/*" | ||
- "./packages/incompabtle-packages/spec/fixutres/*" | ||
- "./packages/line-ending-selector/spec/fixtures/*" | ||
|
||
# Since Codacy exposes significantly little on the config. | ||
# We can use the rest of this document to solidify our settings. | ||
# | ||
# Quality Settings: (Below are changed values, rest are default) | ||
# * Pull requests won't pass the quality gate when: | ||
# - New issues are over: 15 'critical' | ||
# * Commits won't pass the quality gate: | ||
# - New issues are over: 15 'critical' | ||
# * The repository is below the quality goals when: | ||
# - Issues are over: 20% | ||
# - Complexity is over: 10% | ||
# - File is complex when over: 20 | ||
# - Duplication is over: 30 | ||
# - File is duplicated when over: 1 'cloned block' | ||
# - Coverage is under: 60% | ||
# Enabled Engines: | ||
# - CSSLint 1.0.5 | ||
# - CoffeeLint 2.1.0 | ||
# - ESLint 8.23.1 | ||
# - Hadolint 1.18.2 | ||
# - Jackson Linter 2.10.2 | ||
# - PMD 6.48.0 | ||
# - SpellCheck 0.8.0 | ||
# - Stylelint 14.2.0 | ||
# |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
module.exports = { | ||
env: { | ||
browser: true, | ||
commonjs: true, | ||
es2021: true, | ||
}, | ||
extends: ["eslint:recommended", "plugin:node/recommended"], | ||
overrides: [], | ||
parserOptions: { | ||
ecmaVersion: "latest" | ||
}, | ||
rules: { | ||
"node/no-unpublished-require": [ | ||
"error", | ||
{ | ||
allowModules: ["electron"] | ||
} | ||
] | ||
}, | ||
globals: { | ||
atom: "writeable" | ||
} | ||
}; |
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
Oops, something went wrong.