Files
cariflex/tools/citrineos-core-main/eslint.config.base.js
Eric F d398a6ced2 Add extracted tools: CitrineOS, OpenOCPP, ShapeShifter
- CitrineOS core extracted (CSMS OCPP 2.0.1)
- OpenOCPP extracted (firmware OCPP 1.6J/2.0.1)
- ShapeShifter library installed (pip install -e)
- ShapeShifter specification extracted
- EVerest extracted

TODO updated with progress
2026-06-08 00:38:27 -04:00

44 lines
1.0 KiB
JavaScript

// SPDX-FileCopyrightText: 2025 Contributors to the CitrineOS Project
//
// SPDX-License-Identifier: Apache-2.0
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import prettierConfig from 'eslint-config-prettier';
import pluginPrettier from 'eslint-plugin-prettier';
export const sharedConfigs = [
eslint.configs.recommended,
...tseslint.configs.recommended,
{
plugins: {
prettier: pluginPrettier,
},
rules: {
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': [
'warn',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],
'@typescript-eslint/no-empty-object-type': 'off',
'prettier/prettier': 'error',
},
},
prettierConfig,
];
export const sharedIgnores = {
ignores: [
'**/dist/**',
'**/node_modules/**',
'**/lib/**',
'**/coverage/**',
'eslint.config.js',
'eslint.config.mjs',
],
};