support ts and js for lint and format commands w/ burnettk cullerton

This commit is contained in:
jasquat 2022-11-16 14:02:46 -05:00
parent bb7324616b
commit b9c98a9760
1 changed files with 3 additions and 3 deletions

View File

@ -78,9 +78,9 @@
"test": "react-scripts test --coverage", "test": "react-scripts test --coverage",
"t": "npm test -- --watchAll=false", "t": "npm test -- --watchAll=false",
"eject": "craco eject", "eject": "craco eject",
"format": "prettier --write src/**/*.js{,x}", "format": "prettier --write src/**/*.[tj]s{,x}",
"lint": "./node_modules/.bin/eslint src *.js", "lint": "./node_modules/.bin/eslint src *.[tj]s{,x}",
"lint:fix": "./node_modules/.bin/eslint --fix src *.js" "lint:fix": "./node_modules/.bin/eslint --fix src *.[tj]s{,x}"
}, },
"eslintConfig": { "eslintConfig": {
"extends": [ "extends": [