eslint-plugin-userscripts

ESLint Plugin for UserScripts

MIT License

Downloads
16.9K
Stars
28
Committers
5
eslint-plugin-userscripts - 0.5.3 Latest Release

Published by Yash-Singh1 5 months ago

Featuers

  • Supports Node 22

Internal Dependencies

  • Migrate to ESLint v9
eslint-plugin-userscripts - 0.5.2

Published by Yash-Singh1 9 months ago

Features

  • Support for more headers defined in scriptish wiki

Bug Fixes

  • Fix require-name regex when you have regions inside locales
eslint-plugin-userscripts - 0.5.1

Published by Yash-Singh1 10 months ago

eslint-plugin-userscripts - 0.5.0

Published by Yash-Singh1 10 months ago

Breaking Changes

  • Drop support for Node.js <18 as a result of Node.js 16 going EOL
  • Drop support for ESLint <8.40.0
  • Repository now migrated to TypeScript
    • All files are underneath dist
    • Type definitions are published alongside package
    • Utilities now have to be imported with named imports
      -const parse = require('eslint-plugin-userscripts/lib/utils/parse.js');
      +const { parse } = require('eslint-plugin-userscripts/dist/utils/parse');
      

Features

  • Type Definitions and Utility Documentation
  • Support for Node.js 21
  • Support for ESLint 9

Bug Fixes

  • Fix descriptions of several rules that were auto generated
  • Remove arbitrary option specified on metadata-spacing in recommended config

Internal Workflow

  • Update GitHub Action dependencies
  • Drop usage of requireindex
  • Use tsup for transpiling and DTS generation
  • Use typescript-eslint
  • Use pnpm as primary package manager
eslint-plugin-userscripts - 0.4.0

Published by Yash-Singh1 over 1 year ago

Breaking Changes

  • Don't require update URL when download URL is present (#79)

Internal Dependencies

  • Upgrade markdownlint-cli to 0.35.0
  • Upgrade dependabot/fetch-metadata to 1.5.1
eslint-plugin-userscripts - 0.3.0

Published by Yash-Singh1 over 1 year ago

Breaking Changes

  • Drop support for Node.js 14 and 15 (16c5020c37467afbb955165e31aaa03181bc0f91)
  • Drop support for ESLint 6 and 7 (16c5020c37467afbb955165e31aaa03181bc0f91)

Internal Dependencies

  • Update markdownlint-cli (#73)
  • Update eslint-plugin-unicorn (#74)
eslint-plugin-userscripts - 0.2.13

Published by Yash-Singh1 over 1 year ago

💡 Features

  • feat: node 20 support (ec951567cd1cc36c46222e525663cd6cb88fbbf6)

🔧 Internal Dependencies

  • Update dependabot/fetch-metadata GH Actions (#72)
eslint-plugin-userscripts - 0.2.12

Published by Yash-Singh1 over 1 year ago

💡 Features

  • Support Node.js 19

📜 Dependencies

  • semver upgraded from 7.3.5 to 7.3.8
  • Several internal dependencies were update by dependabot and manually
eslint-plugin-userscripts - 0.2.11

Published by Yash-Singh1 over 1 year ago

💡 Features

  • Pull out updates to violentmonkey data from 2.12.10 commit (2e21d9605025fc2f9d21ec65bdc8055951d2974e)

🐛 Bug Fixes

  • chore: dont push gitpod config to npm (b7520914605d13f1e3fd6297578b226fb7f922dc)
  • chore: rm console.logs (#63, e1bb1669d6070bc162fe17bac26b789693cb8bc6)

📜 Internal Dependencies

Several internal dependencies were updated automatically by dependabot.

eslint-plugin-userscripts - 0.2.10

Published by Yash-Singh1 about 2 years ago

💡 Features

  • Support violentmonkey version 2.13.1.2 by updating headers data (c2ce79b6861b144e71438b840c11613ca44288aa)

🔧 Internal

  • Update all tests to use const instead of var for initializing RuleTester (673dfe6c849ba93b66d14cb70f84bc674108f4fc)
eslint-plugin-userscripts - 0.2.9

Published by Yash-Singh1 about 2 years ago

💡 Features

📜 Internal Dependencies

eslint-plugin-userscripts - 0.2.8

Published by Yash-Singh1 over 2 years ago

🐛 Bug Fixes

  • Fix typo in configuration failing recommended configuration
eslint-plugin-userscripts - 0.2.7

Published by Yash-Singh1 over 2 years ago

💡 Features

  • Add @sandbox header (#47)
  • Add better-use-match rule (acfbdf4dd8c417df182546a08eab780e32488a5e)

📜 Dependencies

  • Support eslint v8 all versions (2c4755e30e4fc9ecb697f5f0e17cb0fa3cc7d5ba)
eslint-plugin-userscripts - 0.2.6

Published by Yash-Singh1 over 2 years ago

📚 Documentation

  • Add a completely new configurable theme to the documentation (9c451a9f9717e0d5334404f74900f5fc47c8668f, ee6c9f32ca96ee76ba5ef59d851da079fff7aaf0)
  • Show link to documentation in code editor (702a391809ef0fc0a5ea9ea641f42c5dd4de8ac5)
eslint-plugin-userscripts - 0.2.5

Published by Yash-Singh1 over 2 years ago

Features

  • Make metadata-spacing fixable (#44) Thanks to @nikolay-borzov

Internal

  • fix: markdownlint make disables explicit (57abd584e7ad7eaed9d1c0c5f3e77d436c6c13e3)
  • Update husky from 7.0.4 to 8.0.1 (#45)

Thanks to @nikolay-borzov for making this release a possibility!

eslint-plugin-userscripts - 0.2.4

Published by Yash-Singh1 over 2 years ago

Bug Fixes

  • Use loose option with semver to prevent broken compatibility data parsing
  • Allow keys without values in align-attributes (#42)

Documentation

  • Better background on the cover page

Dependencies

  • Use mocha version v10
eslint-plugin-userscripts - 0.2.3

Published by Yash-Singh1 over 2 years ago

Support NodeJS v18

eslint-plugin-userscripts - 0.2.2

Published by Yash-Singh1 over 2 years ago

Features

  • feat: update @unwrap tag compat (9721ae735f6c56aeb17503d19dbc26bbe2929896)

Dependencies

  • chore: update eslint (87d7fa529b3c709eabab81d877504ae0af2c8f3c) Support for up till ESLint 8.13.0
  • [INTERNAL] Update github actions and linting plugins (c4432e0e3d9b67b6372e8d8223dec758b0f3c9cc, 28ff9d9fbab8bdcb4c9ba470e9dac7398e1e6367)
eslint-plugin-userscripts - 0.2.1

Published by Yash-Singh1 over 2 years ago

What's Changed

  • Added metadata-spacing rule
  • Internal dependabot updates
  • Internal workflow optimization

Full Changelog: https://github.com/Yash-Singh1/eslint-plugin-userscripts/compare/0.2.0...0.2.1

eslint-plugin-userscripts - 0.2.0

Published by Yash-Singh1 almost 3 years ago

Enhancements

  • no-invalid-grant (#17)
  • no-invalid-headers (#18)
  • compat-grant (ca1053c3d52f914e3ea7f34df9bdcaabac6cc9f7)
  • compat-headers (7bf0404b61300723a18aa251e95a9bd0e2752864)
  • Introduce parser API (2fde935a83045927cf9ad8f30ca99d79cc8a696a)
  • Allow tabs in metadata (#19)
  • Make version validation more flexible (#19)
  • Increase speed of no-invalid-metadata (43e6d9ab1952b9101886d25beccc548610a2eb58)

Documentation

  • Document createValidator (f4e7ee4f6ea379bad889f622a8be15b99ce37994)
  • Syntax highlight json and jsonc (b3ff3e4fd0e8747bde07b1f5c273558988a36614)

Dependencies

#20, #21, #22