@vita-mojo/eslint-plugin 1.0.29 → 1.0.30
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/package.json +3 -2
- package/src/configs/javascript.d.ts +1 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vita-mojo/eslint-plugin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
@@ -19,5 +19,6 @@
|
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"typescript": "> 4.0.0"
|
|
21
21
|
},
|
|
22
|
+
"types": "./src/index.d.ts",
|
|
22
23
|
"main": "./src/index.js"
|
|
23
|
-
}
|
|
24
|
+
}
|
|
@@ -30,22 +30,7 @@ declare const config: {
|
|
|
30
30
|
'padding-line-between-statements': (string | {
|
|
31
31
|
blankLine: string;
|
|
32
32
|
prev: string;
|
|
33
|
-
next: string;
|
|
34
|
-
* This configuration is intended to be applied to ALL .js and .jsx files
|
|
35
|
-
* within an Nx workspace.
|
|
36
|
-
*
|
|
37
|
-
* It should therefore NOT contain any rules or plugins which are specific
|
|
38
|
-
* to one ecosystem, such as React, Angular, Node etc.
|
|
39
|
-
*
|
|
40
|
-
* We use @typescript-eslint/parser rather than the built in JS parser
|
|
41
|
-
* because that is what Nx ESLint configs have always done and we don't
|
|
42
|
-
* want to change too much all at once.
|
|
43
|
-
*
|
|
44
|
-
* TODO: Evaluate switching to the built-in JS parser (espree) in Nx v11,
|
|
45
|
-
* it should yield a performance improvement but could introduce subtle
|
|
46
|
-
* breaking changes - we should also look to replace all the @typescript-eslint
|
|
47
|
-
* related plugins and rules below.
|
|
48
|
-
*/
|
|
33
|
+
next: string;
|
|
49
34
|
} | {
|
|
50
35
|
blankLine: string;
|
|
51
36
|
prev: string;
|