Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atlassian-partner-engineering/eslint-config

Package Overview
Dependencies
Maintainers
7
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlassian-partner-engineering/eslint-config

ESLint config for all projects of Partner Engineering team

  • 4.0.0-alpha.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
7
Created
Source

@atlassian-partner-engineering/eslint-config

ESLint Shareable Config

Note

The idea was to have strict linter config which would fit the best for all the projects and not too annoying to work with.

ESLint recommended config was taken as a basis, expanded with Create React App ESLint config and with some custom rules requested by the team.

This config includes:

This config can be used both on server and client side.

Install

npm install -D @atlassian-partner-engineering/eslint-config

Usage

Shareable configs are designed to work with the extends feature of .eslintrc.json files. You can learn more about Shareable Config on the official ESLint website.

Add this to your .eslintrc.js file:

// This resolves https://github.com/eslint/eslint/issues/3458
require("@rushstack/eslint-patch/modern-module-resolution")

module.exports = {
  extends: '@atlassian-partner-engineering'
}

Note: We omitted the eslint-config from the full package name since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc.js file.

If you use VS Code as your code editor you can turn Auto Fix for ESLint:

"editor.codeActionsOnSave": {
  "source.fixAll.eslint": true
}

Check out detailed documentation of ESLint extension.

Publishing this library

To publish this library:

npm version <patch|minor|major>
npm publish

Don't forget to push commit and tag to the remote:

git push --follow-tags

FAQs

Package last updated on 14 May 2022

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