@fnando/codestyle
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "@fnando/codestyle", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"license": "MIT" | ||
} |
@@ -11,3 +11,3 @@ # @fnando/codestyle | ||
## Typescript | ||
### Typescript | ||
@@ -20,11 +20,12 @@ There are 3 distinct configuration files. | ||
Create a file `tsconfig.json` with the following lines, extending from the file you care about: | ||
Create a file `tsconfig.json` with the following lines, extending from the file you care about. Don't forget to specify the source directory. | ||
```json | ||
{ | ||
"extends": "@fnando/codestyle" | ||
"extends": "@fnando/codestyle", | ||
"include": ["src"] | ||
} | ||
``` | ||
## Prettier | ||
### Prettier | ||
@@ -37,6 +38,16 @@ Create a file `.prettierrc.js` with the following lines: | ||
## ESLint | ||
### ESLint | ||
[Follow instructions](https://github.com/fnando/eslint-config-codestyle). | ||
### Jest | ||
Create a file `.jest.config.js` with the following lines: | ||
```json | ||
module.exports = require("@fnando/codestyle/react/jest"); | ||
``` | ||
Notice that only React configuration is supported for now. | ||
## License | ||
@@ -43,0 +54,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3819
74