source: frontend/eslint.config.js

Last change on this file was 09e02d7, checked in by Nikola Sarafimov <sarafimov.nikola12345@…>, 3 days ago

Final room reservation system implementation

  • Property mode set to 100644
File size: 568 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 { defineConfig, globalIgnores } from 'eslint/config'
6
7export default defineConfig([
8 globalIgnores(['dist']),
9 {
10 files: ['**/*.{js,jsx}'],
11 extends: [
12 js.configs.recommended,
13 reactHooks.configs.flat.recommended,
14 reactRefresh.configs.vite,
15 ],
16 languageOptions: {
17 globals: globals.browser,
18 parserOptions: { ecmaFeatures: { jsx: true } },
19 },
20 },
21])
Note: See TracBrowser for help on using the repository browser.