Skip to content
View nnhjs's full-sized avatar
Block or Report

Block or report nnhjs

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
nnhjs/README.md

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list

Popular repositories

  1. Restaurant-Manager Restaurant-Manager Public archive

    Bài tập lớn Mobile: Restaurant-Manager

    JavaScript 1

  2. api-restaurant api-restaurant Public archive

    API bài tập lớn mobile

    JavaScript 1

  3. template-monorepo-nextjs-reactjs template-monorepo-nextjs-reactjs Public

    Study config a project lerna

    TypeScript 1

  4. webpack-tutorial webpack-tutorial Public

    Training webpack at Got It

    JavaScript 1

  5. webpack-5-guide webpack-5-guide Public

    Study webpack 5 guide

    JavaScript 1

  6. npm-docs-guide npm-docs-guide Public

    Study public a package to community

    1