File tree 4 files changed +265
-283
lines changed
4 files changed +265
-283
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
parser : '@typescript-eslint/parser' ,
3
+ plugins : [ '@typescript-eslint' ] ,
3
4
extends : [
4
5
'eslint-config-airbnb-base' ,
5
6
'plugin:@typescript-eslint/recommended' ,
@@ -10,13 +11,17 @@ module.exports = {
10
11
parserOptions : {
11
12
ecmaVersion : 2018 ,
12
13
sourceType : 'module' ,
14
+ project : './tsconfig.json' ,
13
15
} ,
14
16
rules : {
15
- '@typescript-eslint/no-parameter-properties' : {
16
- allows : [ 'private readonly' ] ,
17
- } ,
17
+ '@typescript-eslint/no-parameter-properties' : [
18
+ 'error' ,
19
+ {
20
+ allows : [ 'private readonly' ] ,
21
+ } ,
22
+ ] ,
18
23
'@typescript-eslint/explicit-function-return-type' : 'off' ,
19
- '@typescript-eslint/interface-name-prefix' : 'always ' ,
24
+ '@typescript-eslint/interface-name-prefix' : 'off ' ,
20
25
'@typescript-eslint/no-unused-vars' : 'error' ,
21
26
'import/prefer-default-export' : 'off' ,
22
27
'no-useless-constructor' : 'off' ,
Original file line number Diff line number Diff line change 2
2
Declarative and simple IoC container for node.js applications
3
3
4
4
![ Travis] ( https://img.shields.io/travis/Goodluckhf/IoC-container/master.svg?style=flat-square )
5
- [ ![ Coverage Status] ( https://coveralls.io/repos/github/Goodluckhf/IoC-container/badge.svg?branch=master )] ( https://coveralls.io/github/Goodluckhf/IoC-container?branch=master )
5
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/Goodluckhf/IoC-container/badge.svg?branch=master )] ( https://coveralls.io/github/Goodluckhf/IoC-container?branch=master ) [ ![ Greenkeeper badge ] ( https://badges.greenkeeper.io/Goodluckhf/IoC-container.svg )] ( https://greenkeeper.io/ )
6
6
![ node] ( https://img.shields.io/node/v/@ukitgroup/ioc.svg?style=flat-square )
7
7
![ npm] ( https://img.shields.io/npm/v/@ukitgroup/ioc.svg?style=flat-square )
8
8
You can’t perform that action at this time.
0 commit comments