UNPKG

iobroker.go-e

Version:

go-e ist die Aufforderung, sich elektrisch zu bewegen. e-Mobilität ist unser Antrieb, wobei unsere Kernkompetenz die Ladetechnik für Elektroautos ist. Von der einzelnen Ladestation für e-Autos über Photovoltaik-Anbindung bis hin zum Lastmanagement von gan

66 lines (60 loc) 1.77 kB
const globals = require('globals'); const js = require('@eslint/js'); const { FlatCompat } = require('@eslint/eslintrc'); const compat = new FlatCompat({ baseDirectory: __dirname, recommendedConfig: js.configs.recommended, allConfig: js.configs.all, }); module.exports = [ { ignores: [ '.dev-server/**', 'admin/*.min.js', 'admin/words.js', 'admin/index_m.js', '.history/**' ], }, ...compat.extends('eslint:recommended', 'plugin:prettier/recommended'), { languageOptions: { globals: { ...globals.node, ...globals.mocha, }, ecmaVersion: 2022, sourceType: 'commonjs', parserOptions: { ecmaFeatures: { jsx: true, }, }, }, rules: { indent: ['error', 4, { SwitchCase: 1 }], 'prettier/prettier': ['off', { endOfLine: 'auto' }], 'no-unused-vars': 'off', 'no-fallthrough': 'off', 'no-console': 'off', 'no-prototype-builtins': 'off', 'no-undef': 'warn', 'no-empty': 'warn', 'no-var': 'warn', 'prefer-const': 'warn', 'no-unsafe-finally': 'warn', 'no-cond-assign': 'warn', 'no-func-assign': 'warn', 'no-global-assign': 'warn', 'no-self-assign': 'warn', 'no-trailing-spaces': 'error', quotes: ['warn', 'single', { avoidEscape: true, allowTemplateLiterals: true, }, ], }, }, ];