1
0
mirror of https://github.com/zumbiepig/MineXLauncher.git synced 2025-06-08 08:24:50 +00:00
MineXLauncher/eslint.config.js
zumbiepig 12958cdb38
.
2024-09-07 08:30:51 -07:00

31 lines
660 B
JavaScript

import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import eslintConfigPrettier from 'eslint-config-prettier';
export default tseslint.config(
eslint.configs.recommended,
tseslint.configs.eslintRecommended,
...tseslint.configs.strict,
...tseslint.configs.stylisticTypeChecked,
eslintConfigPrettier,
{
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,
},
],
},
},
);