Skip to content

Commit

Permalink
Large maintenance update:
Browse files Browse the repository at this point in the history
- replaced central-services-shared dep with central-service-logger
- migrated from istanbul to nyc
- updates to dependencies in general
- moved unit tests to a test/unit folder to be consistent with other repos
- added editorconfig, eslintignore, & eslintrc for consistency with other repos
  • Loading branch information
mdebarros committed Sep 16, 2019
1 parent eca5db8 commit 45180d8
Show file tree
Hide file tree
Showing 22 changed files with 1,941 additions and 3,249 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

[*.js]
indent_style = space
indent_size = 2

[{package.json,*.yml,*.cjson}]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
coverage
templates
31 changes: 31 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parserOptions": {
"ecmaVersion": 9
},
"rules": {
"no-console": [
"off"
],
"indent": [
2,
2
],
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"never"
]
},
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended"
}
17 changes: 0 additions & 17 deletions .istanbul.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.9.4
10.15.1
19 changes: 19 additions & 0 deletions .nycrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
temp-directory: "./.nyc_output"
check-coverage: true
per-file: true
lines: 90
statements: 90
functions: 90
branches: 90
all: true
include: [
"src/**/*.js"
]
reporter: [
"lcov",
"text-summary"
]
exclude: [
"**/node_modules/**",
"**/src/kafka/examples/**"
]

0 comments on commit 45180d8

Please sign in to comment.