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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. 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, // or .strict.rules to enable all
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
  ---
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-greasemonkey",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "ESLint rules for Greasemonkey/Tampermonkey userscripts",
5
5
  "type": "module",
6
6
  "engines": {