support ts and js for lint and format commands w/ burnettk cullerton
This commit is contained in:
parent
bb7324616b
commit
b9c98a9760
|
@ -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": [
|
||||||
|
|
Loading…
Reference in New Issue