Closed kacperkapusciak closed 2 years ago
This PR fixes unit test, eslint, and typescript configuration in the library.
Also, this PR setups Github Actions to test code validity on every PR.
Changes:
Fix (default -> named) import in index.test.tsx
index.test.tsx
Fix eslint error in index.tsx
index.tsx
Fix eslint to resolve typescript imports correctly
Bump type definitions to the newest versions
Add types to index.test.tsx
Add @typescript-eslint/parser and @typescript-eslint/eslint-plugin as dev dependencies
@typescript-eslint/parser
@typescript-eslint/eslint-plugin
Add test:types script for checking typings
test:types
Setup Github Actions to run test scripts
This PR fixes unit test, eslint, and typescript configuration in the library.
Also, this PR setups Github Actions to test code validity on every PR.
Changes:
Fix (default -> named) import in
index.test.tsx
Fix eslint error in
index.tsx
Fix eslint to resolve typescript imports correctly
Bump type definitions to the newest versions
Add types to
index.test.tsx
Add
@typescript-eslint/parser
and@typescript-eslint/eslint-plugin
as dev dependenciesAdd
test:types
script for checking typingsSetup Github Actions to run test scripts