New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wetransfer/eslint-config-wetransfer

Package Overview
Dependencies
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wetransfer/eslint-config-wetransfer

ESLint shareable config for WeTransfer repos

  • 3.1.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

npm-version CircleCI semantic-release

WeTransfer ESLint Config

This package provides WeTransfer's base .eslintrc as an extensible shared config. We also provide some React rules as a separate configuration. It is eslint@4+-compatible and maintained by the friendly folks at WeTransfer.

Installation

  1. Install this config package and ESLint: npm install --save-dev eslint @wetransfer/eslint-config-wetransfer.
  2. Add "extends": "@wetransfer/wetransfer" to your .eslintrc.
  3. Add "extends": "@wetransfer/wetransfer/react" to your .eslintrc if you want to make use of our React specific rules. In that case, please install eslint-plugin-react as well:
  • npm install --save-dev eslint-plugin-react

Which rules do we define?

Please take a look to the source code of index.js, which lists every ESLint rule provided by this configuration.

Development

After checking out the repo, run yarn to install all dependencies. To run all tests:

$ npm test

Release process

First, make sure that you have a NPM account at https://www.npmjs.com/, and you are part of the WeTransfer developer's team. Use npm login to store the credentials on the client aka, your computer. Check that your authentication token for registry.npmjs.org is part of your ~/.npmrc file.

We use semantic-release to manage release process. Please run npm run release:dry to check relevant changes and possible new versions. If you are happy with it, run npm run release, it should do the following:

  • Verify authentication for registry
  • Verify GitHub authentication
  • Find latest release and associated git tag
  • Find last commits since last release
  • Generate release notes
  • Create Git tag
  • Prepare the package and release it 📦

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/WeTransfer/eslint-config-wetransfer. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The package is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting with WeTransfer project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

Keywords

FAQs

Package last updated on 28 May 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc