Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Default tslint config has style rules #216

Closed
@apihlaja

Description

@apihlaja

I changed quotation marks of App.tsx and now it doesn't pass provided tslint config, wrong quotation marks. That reveals quite significant disparity between original CRA and typescript version.

Create React App intentionally provides a minimal set of rules that find common mistakes. ref

Create React App only uses ESLint for verifying correctness, not style. ref

create-react-app 1.4.3
react-scripts-ts 2.8.0

I didn't find any documentation / discussion about the reasoning behind the difference. Ie. why does typescript version nitpick about quotation marks?

Edit: It seems original error was caused by me accidentally reformatting App.tsx but point stands.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions