@@ -28,7 +28,7 @@ module.exports = {
2828 'eol-last' : [ 'error' , 'always' ] ,
2929 'keyword-spacing' : 'error' ,
3030 'no-trailing-spaces' : 'error' ,
31- 'space-before-function-paren' : [ 'error' , { 'named' : 'never' } ] ,
31+ 'space-before-function-paren' : [ 'error' , { 'named' : 'never' } ] ,
3232 'react/display-name' : 'off' ,
3333 '@typescript-eslint/no-empty-function' : 'off' ,
3434 '@typescript-eslint/no-inferrable-types' : 'off' ,
@@ -39,6 +39,11 @@ module.exports = {
3939 'destructuring' : 'all'
4040 } ]
4141 } ,
42+ 'settings' : {
43+ 'react' : {
44+ 'version' : '16.3.0' // minimum supported version of React
45+ }
46+ } ,
4247 'overrides' : [ {
4348 'files' : [ 'src/**/*.ts' , 'src/**/*.tsx' ] ,
4449 'excludedFiles' : [ 'src/**/__tests__/**' ] ,
@@ -52,7 +57,7 @@ module.exports = {
5257 } ,
5358 'rules' : {
5459 'no-restricted-syntax' : [ 'error' , 'ForOfStatement' , 'ForInStatement' ] ,
55- 'compat/compat' : [ 'error' , 'defaults, not ie < 11' ] ,
60+ 'compat/compat' : [ 'error' , 'defaults, ie 11' ] ,
5661 'no-throw-literal' : 'error' ,
5762 'import/no-self-import' : 'error' ,
5863 'import/no-default-export' : 'error' ,
0 commit comments