Socket
Book a DemoInstallSign in
Socket

@scentregroup/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@scentregroup/eslint-config

ESLint config for Scentre Group projects.

0.1.4
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

Scentre Group ESLint Config

This package contains Scentre Group's ESLint configuration.

Usage

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

Development

If you would like to try out the repository locally:

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

Contents

This configuration file itself extends recommended presets in:

FAQs

Package last updated on 24 Jul 2018

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.