Skip to content

0.5.0

Compare
Choose a tag to compare
@Yash-Singh1 Yash-Singh1 released this 02 Jan 23:28
· 49 commits to main since this release

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