-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/lint setup #3
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 24140 lines exceeds the maximum allowed for the inline comments feature.
|
We are not doing semantic versioning and 23.10 is a re-write, run npm i -D ts-jest@"<23.10.0" to go back to the previous version |
---|
View the online documentation (usage & technical)
Ask for some help in the Jest
Discord community or ts-jest
GitHub Discussion
Before reporting any issues, be sure to check the troubleshooting page
We're looking for collaborators! Want to help improve ts-jest
?
Getting Started
These instructions will get you setup to use ts-jest
in your project. For more detailed documentation, please check online documentation.
using npm | using yarn | |
---|---|---|
Prerequisites | npm i -D jest typescript |
yarn add --dev jest typescript |
Installing | npm i -D ts-jest @types/jest |
yarn add --dev ts-jest @types/jest |
Creating config | npx ts-jest config:init |
yarn ts-jest config:init |
Running tests | npm test or npx jest |
yarn test or yarn jest |
Built With
- TypeScript - JavaScript that scales
- Jest - Delightful JavaScript Testing
ts-jest
- Jest transformer for TypeScript (yes,ts-jest
uses itself for its tests)
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We DO NOT use SemVer for versioning. Though you can think about SemVer when reading our version, except our major number follows the one of Jest. For the versions available, see the tags on this repository.
Authors/maintainers
- Kulshekhar Kabra - kulshekhar
- Gustav Wengel - GeeWee
- Ahn - ahnpnl
- Huafu Gandon - huafu
See also the list of contributors who participated in this project.
Supporters
- JetBrains has been kind enough to support ts-jest with an open source license.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
prettier | Used in package.json |
Author: James Long | Description: Prettier is an opinionated code formatter |
License: MIT | Homepage: https://prettier.io |
Updated: 23 days ago | Created: almost 6 years ago |
Releases: 120 | Maintainers: 11 |
eslint-plugin-prettier | Used in package.json | |
Author: Teddy Katz | Description: Runs prettier as an eslint rule | |
License: MIT | Homepage: https://github.com/prettier/eslint-plugin-prettier#readme | |
Keywords: eslint, eslintplugin, eslint-plugin and prettier | ||
Updated: 3 months ago | Created: almost 6 years ago | |
Releases: 32 | Maintainers: 6 | |
Direct Dependencies: prettier-linter-helpers |
eslint-config-prettier | Used in package.json |
Author: Simon Lydell | Description: Turns off all rules that are unnecessary or might conflict with Prettier. |
License: MIT | Homepage: https://github.com/prettier/eslint-config-prettier#readme |
Keywords: eslint, eslintconfig and prettier | |
Updated: 23 days ago | Created: almost 6 years ago |
Releases: 65 | Maintainers: 2 |
README
eslint-config-prettier
Turns off all rules that are unnecessary or might conflict with [Prettier].
This lets you use your favorite shareable config without letting its stylistic choices get in the way when using Prettier.
Note that this config only turns rules off, so it only makes sense using it together with some other config.
eslint | Used in package.json | |
Author: Nicholas C. Zakas | Description: An AST-based pattern checker for JavaScript. | |
License: MIT | Homepage: https://eslint.org | |
Keywords: ast, lint, javascript, ecmascript and espree | ||
Updated: 2 days ago | Created: over 9 years ago | |
Releases: 317 | Maintainers: 4 | |
Direct Dependencies: @eslint/eslintrc , @humanwhocodes/config-array , @humanwhocodes/module-importer , @nodelib/fs.walk , ajv , chalk , cross-spawn , debug , doctrine , escape-string-regexp , eslint-scope , eslint-utils , eslint-visitor-keys , espree , esquery , esutils , fast-deep-equal , file-entry-cache , find-up , glob-parent , globals , grapheme-splitter , ignore , import-fresh , imurmurhash , is-glob , is-path-inside , js-sdsl , js-yaml , json-stable-stringify-without-jsonify , levn , lodash.merge , minimatch , natural-compare , optionator , regexpp , strip-ansi , strip-json-comments , text-table |
@typescript-eslint/parser | Used in package.json | |
Author: Unknown | Description: An ESLint custom parser which leverages TypeScript ESTree | |
License: BSD-2-Clause | Homepage: https://github.com/typescript-eslint/typescript-eslint#readme | |
Keywords: ast, ecmascript, javascript, typescript, parser, syntax and eslint | ||
Updated: about 18 hours ago | Created: almost 4 years ago | |
Releases: 2438 | Maintainers: 1 | |
Direct Dependencies: @typescript-eslint/scope-manager , @typescript-eslint/types , @typescript-eslint/typescript-estree , debug |
@typescript-eslint/eslint-plugin | Used in package.json | |
Author: Unknown | Description: TypeScript plugin for ESLint | |
License: MIT | Homepage: https://github.com/typescript-eslint/typescript-eslint#readme | |
Keywords: eslint, eslintplugin, eslint-plugin and typescript | ||
Updated: about 18 hours ago | Created: almost 4 years ago | |
Releases: 2391 | Maintainers: 1 | |
Direct Dependencies: @typescript-eslint/scope-manager , @typescript-eslint/type-utils , @typescript-eslint/utils , debug , ignore , natural-compare-lite , regexpp , semver , tsutils |
@types/jest | Used in module_test/package.json |
Author: Unknown | Description: TypeScript definitions for Jest |
License: MIT | Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jest |
Updated: 6 days ago | Created: over 6 years ago |
Releases: 182 | Maintainers: 1 |
README
[object Object]
New dependencies added: @types/jest
, @typescript-eslint/eslint-plugin
, @typescript-eslint/parser
, eslint
, eslint-config-prettier
, eslint-plugin-prettier
, prettier
and ts-jest
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 27201 lines exceeds the maximum allowed for the inline comments feature.
077b2d0
to
ae7361d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The PR diff size of 27199 lines exceeds the maximum allowed for the inline comments feature.
Code Climate has analyzed commit ae7361d and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 83.3%. View more on Code Climate. |
No description provided.