fix: ensure the ATG will start from its saved status
[e-mobility-charging-stations-simulator.git] / ui / web / .eslintrc.js
index 18ddac2e27d121107056d3fec33985934490b85c..d82d3c5f6ef9cc228dcb52606aedad0e61433f8b 100644 (file)
@@ -1,3 +1,4 @@
+const { env } = require('node:process');
 const { defineConfig } = require('eslint-define-config');
 
 module.exports = defineConfig({
@@ -30,8 +31,8 @@ module.exports = defineConfig({
   },
 
   rules: {
-    'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
-    'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+    'no-console': env.NODE_ENV === 'production' ? 'warn' : 'off',
+    'no-debugger': env.NODE_ENV === 'production' ? 'warn' : 'off',
     'vue/require-v-for-key': 'off',
     'vue/multi-word-component-names': 'off',
     'sort-imports': [