Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
eslint-config-expensify
Advanced tools
Expensify's ESLint configuration following our style guide
This package provides Expensify's .eslintrc as an extensible shared config. Most of our rules are based on Airbnb's style guide.
package.json
file in your PR. A github action will automatically bump the version and publish the package to npm after PR is merged.After you have submitted a PR,
npm install git+https://github.com/Expensify/eslint-config-expensify.git#COMMIT_ID
in the repo against which you want to test those changes.eslint-config-expensify
in package-lock.json
file, and ensures the repo is referencing to the correct local version of the eslint config.npm run lint
or perform any other tests you want in that repo.npm install eslint-config-expensify@latest
. This should update the package.json
and package-lock.json
file, and you can submit a PR with those changes.Note as of now we have no way of testing these PRs without a separate App, Web or Web Secure PR
We export two ESLint configurations for your usage.
Our default export contains all of our ESLint rules, including ECMAScript 6+ and React. It requires eslint
, eslint-plugin-import
, eslint-plugin-react
, and eslint-plugin-jsx-a11y
.
Just add extends: 'expensify'
to the .eslintrc
file in the root directory of your project.
Just add extends: 'expensify/legacy'
to the .eslintrc
file in the root directory of your project.
Feel free to also check out our Javascript style guide, our general language-agnostic coding standards, and the ESlint config docs for more information.
FAQs
Expensify's ESLint configuration following our style guide
The npm package eslint-config-expensify receives a total of 3,153 weekly downloads. As such, eslint-config-expensify popularity was classified as popular.
We found that eslint-config-expensify 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.