项目作者: fabiangzvo

项目描述 :
spotify client
高级语言: JavaScript
项目地址: git://github.com/fabiangzvo/spotify-client.git
创建时间: 2020-03-28T03:27:53Z
项目社区:https://github.com/fabiangzvo/spotify-client

开源协议:

下载


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:
  1. export default {
  2. // other rules...
  3. parserOptions: {
  4. ecmaVersion: 'latest',
  5. sourceType: 'module',
  6. project: ['./tsconfig.json', './tsconfig.node.json'],
  7. tsconfigRootDir: __dirname,
  8. },
  9. }
  • 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