source: chapterx-frontend/eslint.config.js@ 73b69b2

main
Last change on this file since 73b69b2 was b62cefc, checked in by kikisrbinoska <srbinoskakristina07@…>, 4 months ago

Added frontend and imporoved AI Suggestions service

  • Property mode set to 100644
File size: 616 bytes
Line 
1import js from '@eslint/js'
2import globals from 'globals'
3import reactHooks from 'eslint-plugin-react-hooks'
4import reactRefresh from 'eslint-plugin-react-refresh'
5import tseslint from 'typescript-eslint'
6import { defineConfig, globalIgnores } from 'eslint/config'
7
8export default defineConfig([
9 globalIgnores(['dist']),
10 {
11 files: ['**/*.{ts,tsx}'],
12 extends: [
13 js.configs.recommended,
14 tseslint.configs.recommended,
15 reactHooks.configs.flat.recommended,
16 reactRefresh.configs.vite,
17 ],
18 languageOptions: {
19 ecmaVersion: 2020,
20 globals: globals.browser,
21 },
22 },
23])
Note: See TracBrowser for help on using the repository browser.