mirror of
https://github.com/hexboy/maven-mirror-tool.git
synced 2025-04-08 15:59:08 +00:00
23 lines
702 B
JavaScript
23 lines
702 B
JavaScript
import globals from 'globals';
|
|
import pluginJs from '@eslint/js';
|
|
import tsEslint from 'typescript-eslint';
|
|
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
|
|
|
|
export default [
|
|
{ files: ['**/*.{js,ts}'] },
|
|
{ languageOptions: { globals: globals.node } },
|
|
pluginJs.configs.recommended,
|
|
...tsEslint.configs.recommended,
|
|
...tsEslint.configs.stylisticTypeChecked,
|
|
...tsEslint.configs.recommendedTypeChecked,
|
|
eslintPluginPrettierRecommended,
|
|
{
|
|
languageOptions: {
|
|
parserOptions: {
|
|
projectService: true,
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
},
|
|
},
|
|
{ ignores: ['eslint.config.mjs', 'ecosystem.config.js', '.yarn/'] },
|
|
];
|