eslint-plugin-es icon indicating copy to clipboard operation
eslint-plugin-es copied to clipboard

ESLint plugin about ECMAScript syntactic features.

Results 38 eslint-plugin-es issues
Sort by recently updated
recently updated
newest added

This PR adds `es/no-class-fields` rule. close #66

This PR adds `es/no-class-static-block` rule. close #78

This PR adds `es/no-object-hasown` rule. close #77

**Please describe what the rule should do:** Disallow class static initialization blocks added in ES2022. https://github.com/tc39/proposal-class-static-block **Provide 2-3 code examples that this rule will warn about:** ```js class C {...

**Please describe what the rule should do:** Disallow `Object.hasOwn` method. This method will be added in ES2022. https://github.com/tc39/proposal-accessible-object-hasownproperty **Provide 2-3 code examples that this rule will warn about:** ```js if...

Hi, I'm using version 4.1.0. I'm getting the following error when using `es/no-promise-prototype-finally` `1:1 error Definition for rule 'es/no-promise-prototype-finally' was not found es/no-promise-prototype-finally` This is my eslint config: ```js module.exports...

**Please describe what the rule should do:** Disallows `#x in obj` syntax added in ES2022. https://github.com/tc39/proposal-private-fields-in-in **Provide 2-3 code examples that this rule will warn about:** ```js class C {...

Hello, Thank you for the plugin. I am using typescript with target=ES2017 option. If I have: ```ts const y = { ...x }; const re = /(?

**Please describe what the rule should do:** Disallows Top-level `await` added in ES2022. https://github.com/tc39/proposal-top-level-await **Provide 2-3 code examples that this rule will warn about:** ```js const strings = await import(`/i18n/${navigator.language}`);...

**Please describe what the rule should do:** Disallows RegExp `d` flag added in ES2022. https://github.com/tc39/proposal-regexp-match-indices **Provide 2-3 code examples that this rule will warn about:** ```js const re1 = /a+(?z)?/d;...