Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@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
.
The eslint
configurations in this repo extend @open-turo/eslint-config-typescript/legacy
; as it is the base TS
eslint config that supports our existing front-end codebase.
However, if you are creating a new React project and you think you would benefit from having the configurations in this
repository extend the default @open-turo/eslint-config-typescript
config instead, please raise an issue and/or feel
free to create a PR to add a new default that extends it, and rename the current configurations to legacy
and
legacy-extended
respectively. We are not doing that for now to reduce maintenance burden, as it would be unused.
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 one of the two configurations included in this package:
The default config of this repo is the recommended version for nour existing front-end projects.
To use this config, just add to your .eslintrc
the following:
"extends": "@open-turo/eslint-config-typescript"
We also provide an alternative extended
preset, which adds more react-related plugins.
We intend to transition to this one as default over time; and we encourage you to use it for new projects.
If you want to use this extended
configuration, you can import it by instead adding the following to your .eslintrc
:
"extends": "@open-turo/eslint-config-typescript/extended"
Simply notice the /extended
suffix, which points to the extended.js
file in this repository.
Install pre-commit and the commit hooks:
pre-commit install
pre-commit install --hook-type commit-msg
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,188 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.