Our great sponsors
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Leverage eslint to find those white-space characters at the beginning and the end of string values. First do a
Now comes the fun part: What rule should be used? That's relative simple, we can use the no-restricted-syntax rule, also the description doesn't really fit our problem description. But what is the selector value for this rule? You can find this out by using the AST Explorer. Change to @typescript-eslint/parser and paste the const routes: .... part in the left window to see the AST tree to the right: