-
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 #53 from dolittle/update-dependencies
Update
- Loading branch information
Showing
51 changed files
with
1,988 additions
and
3,942 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,18 @@ | ||
# EditorConfig helps create consistency for formatting of all | ||
# the code in Dolittle | ||
# | ||
# http://EditorConfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
indent_style = space | ||
indent_size = 4 | ||
charset = utf-8 | ||
|
||
[*.yml] | ||
indent_size = 2 | ||
|
||
[*.{js, ts}] | ||
quote_type = single |
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,8 @@ | ||
*.d.ts | ||
node_modules | ||
dist | ||
out | ||
Distribution | ||
wallaby.conf.js | ||
coverage | ||
.eslintrc.js |
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,92 @@ | ||
// Copyright (c) Dolittle. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
module.exports = { | ||
extends: '@dolittle', | ||
rules: { | ||
'@typescript-eslint/unified-signatures': 'off', | ||
'import/no-extraneous-dependencies': 'off', | ||
'eol-last': 'error', | ||
'no-multiple-empty-lines': ['error', {'max': 1, 'maxEOF': 0 }], | ||
'header/header': [ | ||
2, | ||
'line', | ||
[ | ||
' Copyright (c) Dolittle. All rights reserved.', | ||
' Licensed under the MIT license. See LICENSE file in the project root for full license information.', | ||
], | ||
2 | ||
], | ||
'jsdoc/require-param-name': 'error', | ||
'jsdoc/require-param-type': 'error', | ||
'jsdoc/check-alignment': 'error', | ||
'jsdoc/check-indentation': 'error', | ||
'jsdoc/valid-types': 'error', | ||
'jsdoc/require-hyphen-before-param-description': 'error', | ||
'jsdoc/check-line-alignment': 'error', | ||
'jsdoc/require-returns-check': 'error', | ||
'jsdoc/require-returns-description': 'error', | ||
'jsdoc/require-returns-type': 'error', | ||
'jsdoc/check-tag-names': 'error', | ||
'jsdoc/check-param-names': 'error', | ||
'jsdoc/check-types': 'error', | ||
'jsdoc/empty-tags': 'error', | ||
'jsdoc/no-bad-blocks': 'error', | ||
'jsdoc/no-undefined-types': 'error', | ||
'jsdoc/multiline-blocks': 'error', | ||
'jsdoc/no-multi-asterisks': 'error', | ||
'jsdoc/require-asterisk-prefix': 'error', | ||
'jsdoc/require-description-complete-sentence': 'error', | ||
'jsdoc/require-param': 'error', | ||
'jsdoc/require-param-description': 'error', | ||
'jsdoc/tag-lines': ['error', 'always', { 'count': 0 }], | ||
|
||
'jsdoc/require-jsdoc': ['error', { | ||
'require': { | ||
'FunctionDeclaration': false | ||
}, | ||
'contexts': [ | ||
'ExportNamedDeclaration>TSTypeAliasDeclaration', | ||
'ExportNamedDeclaration>TSInterfaceDeclaration', | ||
'ExportNamedDeclaration>ClassDeclaration', | ||
'ExportNamedDeclaration[declaration.type="TSDeclareFunction"]:not(ExportNamedDeclaration[declaration.type="TSDeclareFunction"] + ExportNamedDeclaration[declaration.type="TSDeclareFunction"])', | ||
'ExportNamedDeclaration[declaration.type="FunctionDeclaration"]:not(ExportNamedDeclaration[declaration.type="TSDeclareFunction"] + ExportNamedDeclaration[declaration.type="FunctionDeclaration"])', | ||
'MethodDefinition[accessibility!="private"][value.type="TSEmptyBodyFunctionExpression"]:not(MethodDefinition[value.type="TSEmptyBodyFunctionExpression"] + MethodDefinition[value.type="TSEmptyBodyFunctionExpression"])', | ||
'MethodDefinition[accessibility!="private"][value.type="FunctionExpression"]:not(MethodDefinition[value.type="TSEmptyBodyFunctionExpression"] + MethodDefinition[value.type="FunctionExpression"])', | ||
] | ||
}], | ||
|
||
'jsdoc/require-returns': ['error', { | ||
'contexts': [ | ||
'ArrowFunctionExpression', | ||
'FunctionDeclaration', | ||
'MethodDefinition[kind!="get"]' | ||
] | ||
}], | ||
|
||
'jsdoc/require-description': ['error', { | ||
'descriptionStyle': 'body', | ||
'contexts': ['any'] | ||
}], | ||
// This is nice - but makes the linter horribly slow | ||
// 'jsdoc/match-description': ['error', { | ||
// matchDescription: '^(?:[^\\{]+|\\{@link [^\\}]+\\})+$', | ||
// tags: { | ||
// param: true | ||
// }, | ||
// message: 'Descriptions must use {@link ...} for references to other types.' | ||
// }], | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['**/for_*/**'], | ||
rules: { | ||
'@typescript-eslint/naming-convention': 'off', | ||
'import/no-extraneous-dependencies': 'off', | ||
'@typescript-eslint/no-unused-expressions': 'off', | ||
'no-restricted-globals': 'off', | ||
'jsdoc/require-jsdoc': 'off', | ||
}, | ||
}, | ||
], | ||
}; |
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ jobs: | |
name: Create Default Labels | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@1.0.0 | ||
- uses: actions/checkout@3 | ||
- name: Create labels | ||
uses: lannonbr/[email protected] | ||
env: | ||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Copyright (c) Dolittle. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
require('reflect-metadata'); | ||
const dolittle = require('@dolittle/typescript.testing/.mocharc.js'); | ||
|
||
module.exports = dolittle; |
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
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
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
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
Oops, something went wrong.