June 4, 2024  |
Subject: ESLint Configuration Migrator; Rspack v0.7; Deno 1.44; oxlint v0.4.2; Intl.DateTimeFormat; more powerful fetch() |
|
Introducing the ESLint Configuration Migratoreslint.org @nzakas@fosstodon.org @eslint@fosstodon.org “We’ve heard you: One of the biggest reasons ESLint users haven’t upgraded to ESLint v9.x is migrating a configuration file seems difficult and complicated. Some plugins support flat config and the ESLint v9.x rule APIs and some don’t. Sometimes you need to use FlatCompat and sometimes you need to use the compatibility utilities. While we cover as much as we can in the migration guide, it can take time to walk through your configuration and make the necessary changes.”
“That’s why we’re excited to announce the release of the ESLint Configuration Migrator . This utility is designed to translate .eslintrc.* files into eslint.config.js files [...]” |
|
|
|
oxlint v0.4.2github.com github.com/oxc-project New rules:
require-await
eslint-plugin-unicorn/no-magic-array
@typescript-eslint/consistent-indexed-object-style
oxc/no-async-await
oxc/no-const-enum
oxc/no-rest-spread-properties
eslint-plugin-jest/prefer-hooks-on-top
eslint-plugin-jest/require-top-level-describe
no-div-regex
no-useless-concat
|
|
Ship fast. Stay secure.socket.dev Sponsor Socket’s AI-powered threat detection blocks JavaScript supply chain attacks before they have the chance to compromise your dependencies. In addition to scanning for known vulnerabilities, Socket detects 70+ supply chain and code quality issues. Install our free GitHub app in under two minutes and start protecting your repositories today. |
|
Date formatting using Intl.DateTimeFormatrafaelcamargo.com github.com/rafaelcamargo “Presenting a date in a specific format often brings to mind some JavaScript libraries right away, such as moment.js and, more recently, date-fns . Although these libraries still satisfy very peculiar use cases, they are no longer essential for simple date formatting.”
“Widely supported by browsers since 2016, and currently with approximately 96% global coverage, the native Intl API can present dates in highly elaborate formats. And most importantly, all this without adding even 1Kb to your application.” |
|
|
|
This email was sent to {{ email | default }}. You can unsubscribe from this list here or update your preferences. |
|