chore: add eslint and prettier setup for center and guild

This commit is contained in:
nav
2026-05-12 08:42:47 +00:00
parent 07c8a0f99d
commit ea32aeb819
9 changed files with 2827 additions and 3 deletions

View File

@@ -0,0 +1,28 @@
import tsParser from '@typescript-eslint/parser';
import tsPlugin from '@typescript-eslint/eslint-plugin';
export default [
{
ignores: ['dist/**', 'node_modules/**'],
},
{
files: ['src/**/*.ts'],
languageOptions: {
parser: tsParser,
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
globals: {
console: 'readonly',
process: 'readonly',
},
},
plugins: {
'@typescript-eslint': tsPlugin,
},
rules: {
...tsPlugin.configs.recommended.rules,
},
},
];