init commit,
This commit is contained in:
15
002_source/ionic_mobile/.eslintrc.cjs
Normal file
15
002_source/ionic_mobile/.eslintrc.cjs
Normal file
@@ -0,0 +1,15 @@
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
node: true
|
||||
},
|
||||
extends: ['plugin:react/recommended', 'eslint:recommended'],
|
||||
parserOptions: {
|
||||
ecmaVersion: 2020
|
||||
},
|
||||
rules: {
|
||||
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
|
||||
},
|
||||
settings: { react: { version: 'detect' } }
|
||||
};
|
Reference in New Issue
Block a user