mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-12-27 08:06:47 +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"]
|
||
|
}
|
||
|
);
|