eslint-plugin-greasemonkey 1.5.0 → 1.5.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 +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ export default [
|
|
|
38
38
|
{
|
|
39
39
|
files: ['**/*.user.js'], plugins: { greasemonkey }
|
|
40
40
|
rules: {
|
|
41
|
-
...greasemonkey.configs.recommended.rules,
|
|
41
|
+
...greasemonkey.configs.recommended.rules,
|
|
42
42
|
'greasemonkey/no-unused-resources': 'off', // selectively disable rule
|
|
43
43
|
'greasemonkey/meta-spacing': ['error', 2] // selectively tweak rule
|
|
44
44
|
}
|
|
@@ -46,6 +46,8 @@ export default [
|
|
|
46
46
|
]
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
+
Avaialble bundles: `recommended`, `strict`, `tampermonkey`, `violentmonkey`, `greasemonkey`, `scriptcat`
|
|
50
|
+
|
|
49
51
|
**Note:** Rule config is either a severity string (`'off'`, `'warn'`, `'error'`) or an array `[severity, options]` when the rule accepts options.
|
|
50
52
|
|
|
51
53
|
---
|