hassio-nextcloud-backup/nextcloud_backup/backend/eslint.config.js

20 lines
389 B
JavaScript
Raw Permalink Normal View History

2024-07-11 15:47:27 +02:00
// @ts-check
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommendedTypeChecked,
{
languageOptions: {
parserOptions: {
project: true,
tsconfigRootDir: import.meta.dirname,
}
}
},
{
ignores: ["dist/", "eslint.config.js"]
}
);