mirror of
https://github.com/jlengrand/Maestro.git
synced 2026-03-10 08:31:19 +00:00
added eslint-config-prettier along with necessary config files for streamlined formatting
This commit is contained in:
@@ -3,6 +3,7 @@ import eslint from '@eslint/js';
|
||||
import tseslint from 'typescript-eslint';
|
||||
import reactPlugin from 'eslint-plugin-react';
|
||||
import reactHooksPlugin from 'eslint-plugin-react-hooks';
|
||||
import prettierConfig from 'eslint-config-prettier';
|
||||
import globals from 'globals';
|
||||
|
||||
export default tseslint.config(
|
||||
@@ -28,6 +29,9 @@ export default tseslint.config(
|
||||
// TypeScript ESLint recommended rules
|
||||
...tseslint.configs.recommended,
|
||||
|
||||
// Prettier config - disables ESLint rules that conflict with Prettier
|
||||
prettierConfig,
|
||||
|
||||
// Main configuration for all TypeScript files
|
||||
{
|
||||
files: ['src/**/*.ts', 'src/**/*.tsx'],
|
||||
|
||||
Reference in New Issue
Block a user