@plugjs/eslint-plugin 0.1.18 → 0.1.20
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/configs/typescript.cjs +7 -4
- package/package.json +2 -2
package/configs/typescript.cjs
CHANGED
|
@@ -106,7 +106,7 @@ module.exports = {
|
|
|
106
106
|
'valid-jsdoc': [ 'off' ], // nope as well!
|
|
107
107
|
|
|
108
108
|
// TypeScript sanity
|
|
109
|
-
'@typescript-eslint/consistent-type-imports': 'error',
|
|
109
|
+
'@typescript-eslint/consistent-type-imports': [ 'error' ],
|
|
110
110
|
'@typescript-eslint/no-unused-vars': [ 'error' ],
|
|
111
111
|
'@typescript-eslint/no-dupe-class-members': [ 'error' ],
|
|
112
112
|
'@typescript-eslint/no-invalid-this': [ 'error' ],
|
|
@@ -157,11 +157,14 @@ module.exports = {
|
|
|
157
157
|
'no-invalid-this': [ 'error' ],
|
|
158
158
|
|
|
159
159
|
// Turn off specific TypeScript rules
|
|
160
|
-
'@typescript-eslint/
|
|
160
|
+
'@typescript-eslint/consistent-type-imports': [ 'off' ],
|
|
161
|
+
'@typescript-eslint/explicit-function-return-type': [ 'off' ],
|
|
162
|
+
'@typescript-eslint/indent': [ 'off' ],
|
|
161
163
|
'@typescript-eslint/no-dupe-class-members': [ 'off' ],
|
|
162
|
-
'@typescript-eslint/no-invalid-this': [ 'off' ],
|
|
163
164
|
'@typescript-eslint/no-floating-promises': [ 'off' ],
|
|
164
|
-
'@typescript-eslint/
|
|
165
|
+
'@typescript-eslint/no-invalid-this': [ 'off' ],
|
|
166
|
+
'@typescript-eslint/no-unused-vars': [ 'off' ],
|
|
167
|
+
'@typescript-eslint/space-before-function-paren': [ 'off' ],
|
|
165
168
|
},
|
|
166
169
|
}, {
|
|
167
170
|
files: [ 'src/**' ],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plugjs/eslint-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.20",
|
|
4
4
|
"description": "Shared ESLint configurations and extras",
|
|
5
5
|
"main": "./index.cjs",
|
|
6
6
|
"author": "Team Juit <developers@juit.com>",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"eslint-config-google": "^0.14.0",
|
|
17
17
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
18
18
|
"eslint-plugin-import": "^2.29.1",
|
|
19
|
-
"eslint-plugin-unicorn": "^
|
|
19
|
+
"eslint-plugin-unicorn": "^52.0.0"
|
|
20
20
|
},
|
|
21
21
|
"files": [
|
|
22
22
|
"*.md",
|