mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-06 13:21:08 +03:00
Add lint
script to UI project
This commit is contained in:
parent
4b68260b83
commit
c46aa72ede
@ -39,6 +39,7 @@
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"lint": "eslint -c node_modules/eslint-config-react-app/index.js src/**/*.js",
|
||||
"eject": "react-scripts eject",
|
||||
"prettier": "prettier --write src/*.js src/**/*.js",
|
||||
"check-formatting": "prettier -c src/*.js src/**/*.js"
|
||||
|
@ -1,5 +1,5 @@
|
||||
import * as React from 'react'
|
||||
import { render, cleanup, screen } from '@testing-library/react'
|
||||
import { render, cleanup } from '@testing-library/react'
|
||||
import { MultiLineTextField } from './MultiLineTextField'
|
||||
|
||||
describe('<MultiLineTextField />', () => {
|
||||
|
@ -1,5 +1,3 @@
|
||||
import React from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
import { formatBytes, formatDuration } from './formatters'
|
||||
|
||||
describe('formatBytes', () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user