![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@grammarly-npm/grammarly-tslint-config
Advanced tools
TSLint configuration for Grammarly TypeScript projects
This repository contains a configuration for TSLint that is shared between our TypeScript projects. This configuration can be considered a recommended set of rules for any TypeScript project. However, you can still extend this configuration (see this article) for custom, per-project settings.
Apart from built-in set of rules (see more docs here), we also use some third-party TSLint rules:
We have also implemented a couple of custom rules.
Install in a new project:
$ yarn add typescript tslint @grammarly-npm/grammarly-tslint-config
$ cp ./node_modules/grammarly-tslint-config/default-tslint.json ./tslint.json
OR
$ npm i -D typescript tslint @grammarly-npm/grammarly-tslint-config
$ cp ./node_modules/grammarly-tslint-config/default-tslint.json ./tslint.json
Use:
$ ./node_modules/bin/tslint ./src/**/*.ts*
Or in an npm script:
{
...
"scripts": {
"lint": "tslint ./src/**/*.ts*"
}
...
}
It is also recommended to run TSLint on every build, so you can detect and fix problems earlier:
{
...
"scripts": {
"build": "tsc && tslint ./src/**/*.ts*"
}
...
}
As usual, pull-requests are welcome. Constructive discussions are welcome too. If you want to discuss, add or change this configuration, please file an issue.
FAQs
TSLint configuration for Grammarly TypeScript projects
We found that @grammarly-npm/grammarly-tslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 21 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.