mirror of
https://github.com/navidrome/navidrome.git
synced 2025-05-08 22:31:07 +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",
|
"start": "react-scripts start",
|
||||||
"build": "react-scripts build",
|
"build": "react-scripts build",
|
||||||
"test": "react-scripts test",
|
"test": "react-scripts test",
|
||||||
|
"lint": "eslint -c node_modules/eslint-config-react-app/index.js src/**/*.js",
|
||||||
"eject": "react-scripts eject",
|
"eject": "react-scripts eject",
|
||||||
"prettier": "prettier --write src/*.js src/**/*.js",
|
"prettier": "prettier --write src/*.js src/**/*.js",
|
||||||
"check-formatting": "prettier -c src/*.js src/**/*.js"
|
"check-formatting": "prettier -c src/*.js src/**/*.js"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import * as React from 'react'
|
import * as React from 'react'
|
||||||
import { render, cleanup, screen } from '@testing-library/react'
|
import { render, cleanup } from '@testing-library/react'
|
||||||
import { MultiLineTextField } from './MultiLineTextField'
|
import { MultiLineTextField } from './MultiLineTextField'
|
||||||
|
|
||||||
describe('<MultiLineTextField />', () => {
|
describe('<MultiLineTextField />', () => {
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
import React from 'react'
|
|
||||||
import ReactDOM from 'react-dom'
|
|
||||||
import { formatBytes, formatDuration } from './formatters'
|
import { formatBytes, formatDuration } from './formatters'
|
||||||
|
|
||||||
describe('formatBytes', () => {
|
describe('formatBytes', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user