File tree Expand file tree Collapse file tree 5 files changed +18
-3
lines changed Expand file tree Collapse file tree 5 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,6 @@ commitlint.config.js
44gulpfile.js
55.eslintrc.js
66tests
7+ webpack.config.js
8+ jest.config.js
9+ coverage
Original file line number Diff line number Diff line change @@ -25,10 +25,17 @@ module.exports = {
2525 } ,
2626 } ,
2727 } ,
28- rules : { } ,
28+ rules : {
29+ '@typescript-eslint/no-unsafe-assignment' : 'off' ,
30+ '@typescript-eslint/ban-ts-comment' : 'off' ,
31+ } ,
2932 overrides : [
3033 {
3134 files : [ 'tests/**/*.ts' ] ,
35+ parserOptions : {
36+ sourceType : 'module' ,
37+ project : './tsconfig.test.json' ,
38+ } ,
3239 env : {
3340 browser : true ,
3441 node : true ,
Original file line number Diff line number Diff line change 22tags.lock
33tags.temp
44tags
5+ coverage
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ export default class SlotMachine implements Options {
109109 changeSettings ( options : Options ) {
110110 Object . keys ( options ) . forEach ( ( key ) => {
111111 // Trigger setters
112- this [ key ] = options [ key ] ;
112+ this [ key ] = options [ key ] ; /* @ts -ignore */
113113 } ) ;
114114 }
115115
Original file line number Diff line number Diff line change 11{
2- "extends" : " ./tsconfig.json"
2+ "extends" : " ./tsconfig.json" ,
3+ "include" : [
4+ " lib/*.ts" ,
5+ " tests/*.ts" ,
6+ ],
37}
You can’t perform that action at this time.
0 commit comments