eslint-config-ash-nazg 39.7.1 → 39.8.0
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/CHANGES.md +4 -0
- package/package.json +1 -1
- package/sauron.js +0 -15
package/CHANGES.md
CHANGED
package/package.json
CHANGED
package/sauron.js
CHANGED
|
@@ -18,26 +18,11 @@ export default function sauron (pkg, types) {
|
|
|
18
18
|
settings: {
|
|
19
19
|
jsdoc: {
|
|
20
20
|
preferredTypes: {
|
|
21
|
-
'*': {
|
|
22
|
-
message: 'Use a more precise type or if necessary use ' +
|
|
23
|
-
'`any` or add to a `typedef`.',
|
|
24
|
-
replacement: 'any'
|
|
25
|
-
},
|
|
26
|
-
any: {
|
|
27
|
-
message: 'Use a more precise type or if necessary ' +
|
|
28
|
-
'use in a `typedef`',
|
|
29
|
-
replacement: false
|
|
30
|
-
},
|
|
31
21
|
Any: {
|
|
32
22
|
message: 'Use a more precise type or if necessary use ' +
|
|
33
23
|
'`any` or add to a `typedef`.',
|
|
34
24
|
replacement: 'any'
|
|
35
25
|
},
|
|
36
|
-
Function: {
|
|
37
|
-
message: 'Point to a `@callback` namepath or add to a ' +
|
|
38
|
-
'`typedef` if truly arbitrary in form',
|
|
39
|
-
replacement: false
|
|
40
|
-
},
|
|
41
26
|
function: {
|
|
42
27
|
message: 'Point to a `@callback` namepath or add `Function` ' +
|
|
43
28
|
'to a `typedef` if truly arbitrary in form',
|