Skip to content

Commit

Permalink
Merge pull request #31 from dolittle/allow-inferrable
Browse files Browse the repository at this point in the history
Allow inferrable
  • Loading branch information
woksin committed Jul 15, 2020
2 parents 5212013 + 7d643f7 commit c7c53ac
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 11 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
@@ -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
2 changes: 1 addition & 1 deletion .eslintignore
Expand Up @@ -4,4 +4,4 @@ dist
out
Distribution
wallaby.conf.js
coverage
coverage
4 changes: 2 additions & 2 deletions .eslintrc.js
Expand Up @@ -7,6 +7,6 @@ module.exports = {
parserOptions: {
project: './Sources/*/tsconfig.json',
sourceType: 'module',
tsconfigRootDir: __dirname
}
tsconfigRootDir: __dirname,
},
};
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -61,4 +61,4 @@ typings/
# dotenv environment variables file
.env

dist
dist
9 changes: 6 additions & 3 deletions .vscode/settings.json
@@ -1,4 +1,7 @@
{
"eslint.enable": true,
"eslint.packageManager": "yarn"
}
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.alwaysShowStatus": true
}
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -30,7 +30,7 @@ Sinon Chai in Order
[To be documented]

## Issues and Contributing

To learn how to contribute please read our [contributing](https://dolittle.io/contributing/) guide.

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

1 change: 0 additions & 1 deletion Source/EslintConfig/.eslintrc.js
Expand Up @@ -36,7 +36,6 @@ module.exports = {
{ selector: 'property', format: null }
],

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

Expand Down
2 changes: 1 addition & 1 deletion tsconfig.settings.json
@@ -1,3 +1,3 @@
{
"extends": "@dolittle/typescript.config"
}
}
1 change: 0 additions & 1 deletion wallaby.conf.js
@@ -1,4 +1,3 @@

const build = require('@dolittle/typescript.build');

module.exports = build.wallaby();

0 comments on commit c7c53ac

Please sign in to comment.