~firefoxreact-appvite-app
14 itemsDownload ./*

..
public
src
.gitignore
README.md
build-app.sh
eslint.config.js
index.html
package-lock.json
package.json
start-app.sh
tsconfig.app.json
tsconfig.json
tsconfig.node.json
vite.config.ts


vite-appeslint.config.js
734 B• 2•  1 day ago•  DownloadRawClose
1 day ago•  2

{}
import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'

export default tseslint.config(
  { ignores: ['dist'] },
  {
    extends: [js.configs.recommended, ...tseslint.configs.recommended],
    files: ['**/*.{ts,tsx}'],
    languageOptions: {
      ecmaVersion: 2020,
      globals: globals.browser,
    },
    plugins: {
      'react-hooks': reactHooks,
      'react-refresh': reactRefresh,
    },
    rules: {
      ...reactHooks.configs.recommended.rules,
      'react-refresh/only-export-components': [
        'warn',
        { allowConstantExport: true },
      ],
    },
  },
)

Top
©twily.info 2013 - 2025
twily at twily dot info



2 273 248 visits
... ^ v