Skip to content

Commit c7c53ac

Browse files
authored
Merge pull request #31 from dolittle/allow-inferrable
Allow inferrable
2 parents 5212013 + 7d643f7 commit c7c53ac

9 files changed

Lines changed: 30 additions & 11 deletions

File tree

.editorconfig

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# EditorConfig helps create consistency for formatting of all
2+
# the code in Dolittle
3+
#
4+
# http://EditorConfig.org
5+
6+
root = true
7+
8+
[*]
9+
end_of_line = lf
10+
indent_style = space
11+
indent_size = 4
12+
charset = utf-8
13+
14+
[*.yml]
15+
indent_size = 2
16+
17+
[*.{js, ts}]
18+
quote_type = single

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ dist
44
out
55
Distribution
66
wallaby.conf.js
7-
coverage
7+
coverage

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ module.exports = {
77
parserOptions: {
88
project: './Sources/*/tsconfig.json',
99
sourceType: 'module',
10-
tsconfigRootDir: __dirname
11-
}
10+
tsconfigRootDir: __dirname,
11+
},
1212
};

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ typings/
6161
# dotenv environment variables file
6262
.env
6363

64-
dist
64+
dist

.vscode/settings.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
2-
"eslint.enable": true,
3-
"eslint.packageManager": "yarn"
4-
}
2+
"editor.formatOnSave": false,
3+
"editor.codeActionsOnSave": {
4+
"source.fixAll.eslint": true
5+
},
6+
"eslint.alwaysShowStatus": true
7+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Sinon Chai in Order
3030
[To be documented]
3131

3232
## Issues and Contributing
33+
3334
To learn how to contribute please read our [contributing](https://dolittle.io/contributing/) guide.
3435

3536
File issues to our [Home](https://github.com/dolittle/Home/issues) repository.
36-

Source/EslintConfig/.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ module.exports = {
3636
{ selector: 'property', format: null }
3737
],
3838

39-
'@typescript-eslint/no-inferrable-types': 'error',
4039
'@typescript-eslint/no-misused-new': 'error',
4140
'@typescript-eslint/no-this-alias': 'error',
4241

tsconfig.settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"extends": "@dolittle/typescript.config"
3-
}
3+
}

wallaby.conf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
const build = require('@dolittle/typescript.build');
32

43
module.exports = build.wallaby();

0 commit comments

Comments
 (0)