You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/Users/serhii/cf/test-eslint/test-1.js
10:3 error Member bar should be declared before all public instance set definitions @typescript-eslint/member-ordering
/Users/serhii/cf/test-eslint/test-2.js
10:3 error All foo signatures should be adjacent @typescript-eslint/adjacent-overload-signatures
10:3 error Accessor pair getter 'foo' and setter 'foo' should be grouped grouped-accessor-pairs
14:3 error All bar signatures should be adjacent @typescript-eslint/adjacent-overload-signatures
14:3 error Accessor pair getter 'bar' and setter 'bar' should be grouped grouped-accessor-pairs
The text was updated successfully, but these errors were encountered:
Description
After #29 we now have conflicting rules for getters and setters:
@typescript-eslint/member-ordering
requires all the getters to be placed before all the setters in the same class,@typescript-eslint/adjacent-overload-signatures
andgrouped-accessor-pairs
require them to be grouped.Steps to reproduce
npm install & npm run lint
Input
test-1.js
test-2.js
Output
The text was updated successfully, but these errors were encountered: