Last Updated: 31 Jul 2023 07:16 by Joel Parker Henderson
Joel Parker Henderson
Created on: 18 Apr 2022 15:41
Category: KendoReact
Type: Bug Report
Inconsistent syntax with EOL semicolon

On this page:

There's a syntax mismatch in end-of-line semicolons.

This line ends with a semicolon:

import '@progress/kendo-theme-default/dist/all.css';

This line does not end with a semicolon:

import { Calendar } from '@progress/kendo-react-dateinputs'

All teams that I know of consider it to be an error to do both ways in the same file.

The solution is to pick one way then be consistent. The broader solution is to use a linter, such as ESLint, that can process the code to ensure you're using your expected syntax and formatting.


Joel Parker Henderson
Posted on: 31 Jul 2023 07:16
Yes I figured. Small tiny issues, such as a missing colon, are sometimes good for discovering larger serious issues, such as ticketing system data that doesn't match what's supposed to happen. Glad you all got it all fixed.
Konstantin Dikov
Posted on: 31 Jul 2023 06:32

Hi Joel,

It was a mistake on our end that the status was "Planned" for so long. The issue was fixed a long time ago, but we had some items in the public portal that had old (not updated) status and that was the case with this report. We have ongoing task to go through all feedback items and check/update their status and state accordingly, so we can avoid such problems in the future.

Best Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Joel Parker Henderson
Posted on: 30 Jul 2023 19:29
Thank you for fixing it. Duration from the report to the completed change update was 468 days.
Posted on: 25 Apr 2022 07:28

Hi, Joel,

Thank you for reaching out to us and for your feedback. We agree that the code should be written in one consistent style. I will make a pull request that makes sure semicolons are added consistently.

We highly appreciate your feedback and if you have any other suggestions or questions, please do not hesitate to contact us again.

Regards, FilipProgress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.