Add JSX as a global variable in ESLint config
This commit is contained in:
+2
-1
@@ -9,7 +9,8 @@ module.exports = {
|
||||
},
|
||||
globals: {
|
||||
Global: 'readonly',
|
||||
React: 'readonly'
|
||||
React: 'readonly',
|
||||
JSX: 'readonly'
|
||||
},
|
||||
ignorePatterns: ['public/static/', 'public/vs/**']
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user