mirror of
https://github.com/zumbiepig/MineXLauncher.git
synced 2025-06-08 04:34:47 +00:00
36 lines
787 B
JavaScript
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',
|
|
},
|
|
},
|
|
);
|