1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 08:14:48 +00:00
MineXLauncher/eslint.config.js
2024-09-23 15:56:02 -07:00

36 lines
787 B
JavaScript

import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import eslintConfigPrettier from 'eslint-config-prettier';
// import tsdocPlugin from 'eslint-plugin-tsdoc';
export default tseslint.config(
eslint.configs.recommended,
tseslint.configs.eslintRecommended,
...tseslint.configs.strict,
...tseslint.configs.stylisticTypeChecked,
eslintConfigPrettier,
{
/* plugins: {
tsdoc: tsdocPlugin,
}, */
languageOptions: {
parserOptions: {
projectService: true,
project: './tsconfig.json',
tsconfigRootDir: import.meta.dirname,
},
},
rules: {
'@typescript-eslint/ban-ts-comment': [
'error',
{
'ts-expect-error': false,
'ts-nocheck': false,
'ts-check': true,
},
],
// 'tsdoc/syntax': 'warn',
},
},
);