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

@ghyston/eslint-config-ghyston

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ghyston/eslint-config-ghyston

ESLint config defined by Ghyston

  • 1.0.5
  • npm
  • Socket score

Version published
Weekly downloads
181
decreased by-28.74%
Maintainers
2
Weekly downloads
 
Created
Source

eslint-config-ghyston

Usage

Core

  1. npm install --save-dev @ghyston/eslint-config-ghyston
  2. Install the following peer dependencies, deleting where necessary: npm install --save-dev @typescript-eslint/eslint-plugin eslint eslint-plugin-import eslint-plugin-unused-imports
  3. Then add the following to your .eslintrc file:
{
  "extends": [
    "@ghyston/eslint-config-ghyston"
  ]
}

Modules

React

See React configuration

Jest

See Jest configuration

Development

Setup

  1. npm install

Editing the config

  1. Make changes to any of the index.js file

Adding new config

  1. Create a new folder for the config in root
  2. Add an index.js file
  3. Add a README.md file
  4. Add a link to the new config in the modules section

Testing the changes locally

  1. Update the version number in the package.json file e.g. 1.0.0
  2. Create a folder somewhere to store a local copy of the package e.g. ~/npm-test-packages
  3. npm pack --pack-destination ~/npm-test-packages
  4. Add the following to the package.json file of the project you want to test the changes in. Make sure you use the correct version number:
{
  "devDependencies": {
    "@ghyston/eslint-config-ghyston": "file:~/npm-test-packages/eslint-config-ghyston-1.0.0.tgz"
  }
}

Publishing

To publish you'll need to be part of the Ghyston organisation, contact an existing member to be added. Checkout main and run the following:

  1. npm login
  2. ./publish.sh patch (or minor, or major)

Keywords

FAQs

Package last updated on 16 Jan 2024

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