mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 17:22:58 +01:00
20 lines
389 B
JavaScript
20 lines
389 B
JavaScript
|
// @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"]
|
||
|
}
|
||
|
);
|