Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@open-turo/eslint-config-react
Advanced tools
@open-turo/eslint-config-react
Turo eslint configuration for react. The config expects that Typescript is being used as it extends
eslint-config-typescript
.
Install the package and all of its peer dependencies:
npx install-peerdeps --dev @open-turo/eslint-config-react
Then in your .eslintrc
file, extend from the default configuration of this package, which is the recommended eslint
configuration for our existing front-end projects.
To use this config, just add to your .eslintrc
the following:
"extends": "@open-turo/eslint-config-typescript"
There is a legacy
preset that extends @open-turo/eslint-config-typescript/legacy
. This only exists for backwards
compatibility with existing projects. It is strongly recommended to use the standard preset.
To use the legacy
preset, update your .eslintrc
file to be:
{
"extends": "@open-turo/eslint-config-react/legacy"
}
Install pre-commit and the commit hooks:
pre-commit install
pre-commit install --hook-type commit-msg
Transitive peerDependencies
should be added, and kept up to date. A useful tool for that task is
npx check-peer-dependencies
, which shows us our missing (or outdated) peerDependencies.
Please review Issues, post new Issues against this repository as needed.
Please see here for guidelines on how to contribute to this project.
FAQs
Turo eslint configuration for react
The npm package @open-turo/eslint-config-react receives a total of 2,561 weekly downloads. As such, @open-turo/eslint-config-react popularity was classified as popular.
We found that @open-turo/eslint-config-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.