
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@comparto/eslint-config
Advanced tools
[actions-badge]: https://img.shields.io/github/workflow/status/jimmy-guzman/comparto-eslint-config/cicd?label=actions&logo=github-actions&style=flat-square [version-badge]: https://img.shields.io/npm/v/@comparto/eslint-config.svg?logo=npm&style=flat-squar
This package provides a shareable ESLint configuration with rules for react, typescript, javascript, jest, and @testing-library.
This will enable jest
, react
, typescript
or @testing-library
rules if their respective dependency exists.
Install stuff:
npx install-peerdeps --dev @comparto/eslint-config
or if you wish this to be a common dependency in a yarn workspaces monorepo:
# -Y --yarn, -x --extra-args, -W --ignore-workspace-root-check
npx install-peerdeps @comparto/eslint-config --dev -Y -x -W
Add "extends": "@comparto/eslint-config"
to your .eslintrc
yarn add -D @comparto/prettier-config
Add "prettier": "@comparto/prettier-config"
to your package.json
or any configuration of your choice.
This config uses eslint-import-resolver-webpack with a default setting of:
settings:
import/resolver:
webpack:
config: 'webpack.dev.config.js' # or {} if not found
This can be overridden exactly the same as the eslint-import-resolver-webpack configuration.
This config uses some rules that require type information like naming-convention, so @typescript-eslint/parser
's parserOptions.project is set to "./tsconfig.json"
. Override this value if your tsconfig.json
is located somewhere else.
FAQs
[actions-badge]: https://img.shields.io/github/workflow/status/jimmy-guzman/comparto-eslint-config/cicd?label=actions&logo=github-actions&style=flat-square [version-badge]: https://img.shields.io/npm/v/@comparto/eslint-config.svg?logo=npm&style=flat-squar
The npm package @comparto/eslint-config receives a total of 1 weekly downloads. As such, @comparto/eslint-config popularity was classified as not popular.
We found that @comparto/eslint-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.