main
|
Last change
on this file since a8f4a2d 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 | |
|---|
| 1 | import js from '@eslint/js'
|
|---|
| 2 | import globals from 'globals'
|
|---|
| 3 | import reactHooks from 'eslint-plugin-react-hooks'
|
|---|
| 4 | import reactRefresh from 'eslint-plugin-react-refresh'
|
|---|
| 5 | import tseslint from 'typescript-eslint'
|
|---|
| 6 | import { defineConfig, globalIgnores } from 'eslint/config'
|
|---|
| 7 |
|
|---|
| 8 | export 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.