mirror of
https://github.com/coder/code-server.git
synced 2026-07-14 12:50:25 +02:00
Simplify frontend
Just a login form and a list of applications. No modals or anything like that.
This commit is contained in:
@@ -8,32 +8,16 @@ env:
|
||||
parserOptions:
|
||||
ecmaVersion: 2018
|
||||
sourceType: module
|
||||
ecmaFeatures:
|
||||
jsx: true
|
||||
|
||||
extends:
|
||||
- eslint:recommended
|
||||
- plugin:@typescript-eslint/recommended
|
||||
- plugin:import/recommended
|
||||
- plugin:import/typescript
|
||||
- plugin:react/recommended
|
||||
- plugin:prettier/recommended
|
||||
- prettier # Removes eslint rules that conflict with prettier.
|
||||
- prettier/@typescript-eslint # Remove conflicts again.
|
||||
|
||||
plugins:
|
||||
- react-hooks
|
||||
|
||||
# Need to set this explicitly for the eslint-plugin-react.
|
||||
settings:
|
||||
react:
|
||||
version: detect
|
||||
|
||||
rules:
|
||||
# For overloads.
|
||||
no-dupe-class-members: off
|
||||
|
||||
# https://www.npmjs.com/package/eslint-plugin-react-hooks
|
||||
react-hooks/rules-of-hooks: error
|
||||
|
||||
react/prop-types: off # We use Typescript to verify prop types.
|
||||
|
||||
Reference in New Issue
Block a user