Releases: Yash-Singh1/eslint-plugin-userscripts
Releases · Yash-Singh1/eslint-plugin-userscripts
0.5.6
0.5.5
0.5.4
Features
- Add
@tag
to supported headers list introduced in Tampermonkey 5.3.6206 (Thanks @double-beep!)
0.5.3
Featuers
- Supports Node 22
Internal Dependencies
- Migrate to ESLint v9
0.5.2
Features
- Support for more headers defined in scriptish wiki
Bug Fixes
- Fix
require-name
regex when you have regions inside locales
0.5.1
0.5.0
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');
- All files are underneath
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
inrecommended
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