eslint-plugin-escompat
Advanced tools
Comparing version 3.8.1 to 3.9.0
@@ -220,5 +220,13 @@ 'use strict'; | ||
"disallow hashbang comments", | ||
{ ts: 2022 } | ||
{ ts: 2023 } | ||
); | ||
// ES2024 | ||
createRule( | ||
"no-regexp-v-flag", | ||
"edge > 0, safari < 17, firefox < 116, chrome < 112", | ||
"disallow the use of the RegExp `v` flag", | ||
{ ts: 2024 } | ||
); | ||
// Proposals... | ||
@@ -243,3 +251,3 @@ createRule( | ||
plugins: ["escompat"], | ||
parserOptions: { ecmaVersion: 2023 }, | ||
parserOptions: { ecmaVersion: 2024 }, | ||
rules: Object.keys(module.exports.rules).reduce( | ||
@@ -257,3 +265,3 @@ (o, r) => ((o["escompat/" + r] = ["error"]), o), | ||
languageOptions: { | ||
ecmaVersion: 2023 | ||
ecmaVersion: 2024 | ||
}, | ||
@@ -260,0 +268,0 @@ rules: Object.keys(module.exports.rules).reduce( |
{ | ||
"name": "eslint-plugin-escompat", | ||
"version": "3.8.1", | ||
"version": "3.9.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -170,2 +170,3 @@ # eslint-plugin-escompat | ||
- [no-regexp-s-flag](./docs/no-regexp-s-flag.md) | ||
- [no-regexp-v-flag](./docs/no-regexp-v-flag.md) | ||
- [no-top-level-await](./docs/no-top-level-await.md) | ||
@@ -172,0 +173,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25671
30
587
179