@kembec/eslint-config 1.0.3 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +5 -1
- package/jest/index.js +11 -0
- package/package.json +2 -1
- package/rules/plugins.js +0 -8
- package/typescript/jest/index.js +11 -0
package/Readme.md
CHANGED
|
@@ -21,6 +21,8 @@ Modify your ESLint configuration file to use this package. The setup varies slig
|
|
|
21
21
|
```json
|
|
22
22
|
{
|
|
23
23
|
"extends": ["@kembec/eslint-config"]
|
|
24
|
+
// Include Jest
|
|
25
|
+
"extends": ["@kembec/eslint-config/jest"]
|
|
24
26
|
}
|
|
25
27
|
```
|
|
26
28
|
|
|
@@ -29,6 +31,8 @@ Modify your ESLint configuration file to use this package. The setup varies slig
|
|
|
29
31
|
```json
|
|
30
32
|
{
|
|
31
33
|
"extends": ["@kembec/eslint-config/typescript"],
|
|
34
|
+
// Include Jest
|
|
35
|
+
"extends": ["@kembec/eslint-config/typescript/jest"]
|
|
32
36
|
"overrides": [
|
|
33
37
|
{
|
|
34
38
|
"files": ["*.ts", "*.tsx"],
|
|
@@ -69,4 +73,4 @@ Use `npm run lint` to identify issues or `npm run lint:fix` to fix many issues a
|
|
|
69
73
|
|
|
70
74
|
## License
|
|
71
75
|
|
|
72
|
-
|
|
76
|
+
This project is licensed under the [AGPL-3.0](https://opensource.org/licenses/AGPL-3.0). Its use, modification, and distribution are allowed under the terms of this license.
|
package/jest/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kembec/eslint-config",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "My personal linter configuration for JavaScript/TypeScript",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"eslint",
|
|
18
18
|
"lint",
|
|
19
19
|
"prettier",
|
|
20
|
+
"jest",
|
|
20
21
|
"kembec"
|
|
21
22
|
],
|
|
22
23
|
"author": "Kembec.com",
|
package/rules/plugins.js
CHANGED