Add `lint` script to UI project

This commit is contained in:
Deluan 2021-03-24 12:05:58 -04:00
parent 4b68260b83
commit c46aa72ede
3 changed files with 2 additions and 3 deletions

View File

@ -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"

View File

@ -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 />', () => {

View File

@ -1,5 +1,3 @@
import React from 'react'
import ReactDOM from 'react-dom'
import { formatBytes, formatDuration } from './formatters'
describe('formatBytes', () => {