presentationmaker.js/.eslintrc.js

25 lines
538 B
JavaScript
Raw Normal View History

2024-07-03 03:06:02 +02:00
import globals from "globals";
import tseslint from "typescript-eslint";
export default [
{
files: ["**/*.{ts}"],
plugins: ['@typescript-eslint/eslint-plugin', 'eslint-plugin-tsdoc'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json',
tsconfigRootDir: __dirname,
ecmaVersion: 'ES6',
sourceType: 'module'
},
rules: {
'tsdoc/syntax': 'warn'
},
languageOptions: {
globals: globals.browser
}
},
...tseslint.configs.recommended,
];