-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Closed
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionbuildThis change relates to ESLint's build processThis change relates to ESLint's build processchoreThis change is not user-facingThis change is not user-facing
Description
We have a number of different projects that are using different conventions for various npm scripts. I'd like us to standardize our script names and what they for the following actions:
- Building - in packages where building is necessary, I'd like to standardize on
build. I think we are doing this everywhere, but wanted to include here for the record. - Linting - I'd like to standardize on
lintto lint every type of file, and thenlint:*, where*is the file extension, for linting just specific types of files (examples:lint:js,lint:md). - Fixing lint errors - throughout our packages we have
fix,fixlint,lint:fix, and some have no lint fix script at all. I'd like to standardize onlint:fix, which should run on all file types, or elselint:fix:*to run just on a subtype. - Testing - we are all over the place with this. In some packages
testruns both linting and testing. In some packages we haveunit:*scripts and in some we havetest:*scripts. Some packages have coverage and others do not (test:cover,coverage,test-cov, etc.). I think we should standardize:- That
testdoes not includelint - That we do test coverage
- That all testing that can have coverage does have coverage
- That
testalways runs with coverage - That any subset of testing be named
test:*. Everytest:*is run withtest
- That
Thoughts?
pmcelhaney
Metadata
Metadata
Assignees
Labels
acceptedThere is consensus among the team that this change meets the criteria for inclusionThere is consensus among the team that this change meets the criteria for inclusionarchived due to ageThis issue has been archived; please open a new issue for any further discussionThis issue has been archived; please open a new issue for any further discussionbuildThis change relates to ESLint's build processThis change relates to ESLint's build processchoreThis change is not user-facingThis change is not user-facing
Type
Projects
Status
Complete