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
Ошибка воспроизводится только в arui-presets-lint@5.10.0
При вызове eslint выводится ошибка
Oops! Something went wrong! :(
ESLint: 7.9.0
TypeError: Error while loading rule 'unicorn/filename-case': context.getPhysicalFilename is not a function
Occurred while linting C:\Users\MainStation\Repos\Work\ufr-cashrequest-components\src\components\error-boundary\error-boundary.tsx
at create (C:\Users\MainStation\Repos\Work\ufr-cashrequest-components\node_modules\eslint-plugin-unicorn\rules\filename-case.js:156:40)
at Object.wrapped [as create] (C:\Users\MainStation\Repos\Work\ufr-cashrequest-components\node_modules\eslint-plugin-unicorn\rules\utils\rule.js:38:18)
at createRuleListeners (C:\Users\MainStation\Repos\Work\ufr-cashrequest-components\node_modules\eslint\lib\linter\linter.js:761:21)
at C:\Users\MainStation\Repos\Work\ufr-cashrequest-components\node_modules\eslint\lib\linter\linter.js:931:31
at Array.forEach (<anonymous>)
at runRules (C:\Users\MainStation\Repos\Work\ufr-cashrequest-components\node_modules\eslint\lib\linter\linter.js:876:34)
at Linter._verifyWithoutProcessors (C:\Users\MainStation\Repos\Work\ufr-cashrequest-components\node_modules\eslint\lib\linter\linter.js:1173:31)
at Linter._verifyWithConfigArray (C:\Users\MainStation\Repos\Work\ufr-cashrequest-components\node_modules\eslint\lib\linter\linter.js:1271:21)
at Linter.verify (C:\Users\MainStation\Repos\Work\ufr-cashrequest-components\node_modules\eslint\lib\linter\linter.js:1226:25)
at Linter.verifyAndFix (C:\Users\MainStation\Repos\Work\ufr-cashrequest-components\node_modules\eslint\lib\linter\linter.js:1416:29)
error Command failed with exit code 2.
Ошибка воспроизводится только в arui-presets-lint@5.10.0
При вызове eslint выводится ошибка
Судя по всему, в этой версии eslint такого вызова еще не существует (https://eslint.org/blog/2021/06/eslint-v7.28.0-released)
The text was updated successfully, but these errors were encountered: