Turn off the JSX scope rule and allow console. [skip build]
This commit is contained in:
@@ -55,6 +55,10 @@ export default [
|
|||||||
'linebreak-style': 0,
|
'linebreak-style': 0,
|
||||||
'no-underscore-dangle': 0,
|
'no-underscore-dangle': 0,
|
||||||
'no-shadow': 'off',
|
'no-shadow': 'off',
|
||||||
|
'no-console': 'off',
|
||||||
|
|
||||||
|
// The build uses the automatic JSX runtime, so this rule asks for imports the code never needs.
|
||||||
|
'react/react-in-jsx-scope': 'off',
|
||||||
|
|
||||||
'import/prefer-default-export': 'off',
|
'import/prefer-default-export': 'off',
|
||||||
'import/extensions': 'off',
|
'import/extensions': 'off',
|
||||||
|
|||||||
Reference in New Issue
Block a user