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

@scentregroup/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scentregroup/eslint-config

ESLint config for Scentre Group projects.

  • 0.1.0
  • unpublished
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Scentre Group ESLint Config

This package contains Scentre Group's ESLint configuration.

Usage

  1. Run yarn add eslint babel-eslint eslint-config-prettier eslint-plugin-compat eslint-plugin-import eslint-plugin-optimize-regex eslint-plugin-eslint-comments eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-promise eslint-plugin-react @scentregroup/eslint-config --dev
  2. Run touch .eslintrc.js
  3. Extend @scentregroup/eslint-config, i.e. add the following to .eslintrc.js:
module.exports = {
  extends: ['@scentregroup/eslint-config']
}
  1. Add a lint:js task to scripts in package.json: eslint src/**

Development

If you would like to try out the repository locally:

  1. Run git clone git@github.com:ScentreGroup/javascript_config.git
  2. cd javascript_config/eslint-config
  3. Create a global link to this repository via yarn link
  4. In the repository you would like to test, run yarn link @scentregroup/eslint-config.
  5. You can then proceed as per the Usage section.

Contents

This configuration file itself extends recommended presets in:

FAQs

Package last updated on 29 Nov 2017

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