introduce lint step, fix lint errors #2164
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1958
introduces a lint step, fixes existing lint errors, added a few ts ignore's to suppress lint errors for now
This pull request includes various updates to dependencies, linting, and code readability. It also adds new jobs to the GitHub Actions workflow to improve linting.
.github/workflows/node.js.yml
: Added new job to run linting with node version 16.x in the GitHub Actions workflow, including setting up node, checking out the repository, caching node modules, installing dependencies, and running the lint command. (.github/workflows/node.js.yml
)package.json
: Added or updated packagesglob
andmsw
as dependencies, and modified scripts inpackage.json
for linting. (package.json)src/types/StitchesCSS.ts
: UpdatedStitchesCSS
type definition insrc/types/StitchesCSS.ts
to includeMedia
andUtils
from theConfigType
object, with added eslint disable comments for specific type definitions. (StitchesCSS.ts)jest.config.ts
: Addedclover
reporter to Jest configuration for generating coverage reports. (Jest configuration)scripts/bundle.ts
: Updated thebundle
function inbundle.ts
to use consistent single quotes instead of double quotes for improved code readability and consistency. (bundle.ts)