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

@glints/eslint-config

Package Overview
Dependencies
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@glints/eslint-config - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

package.json
{
"name": "@glints/eslint-config",
"version": "1.0.1",
"version": "1.0.2",
"description": "ESLint rules for Glints projects.",

@@ -19,3 +19,6 @@ "keywords": [

"access": "public"
},
"dependencies": {
"eslint-plugin-react-hooks": "^2.0.1"
}
}

3

react.js

@@ -19,2 +19,4 @@ module.exports = {

'react/self-closing-comp': 'warn',
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn",

@@ -38,3 +40,4 @@ // React/JSX

'react',
"react-hooks",
],
};

@@ -1,2 +0,2 @@

# ESLint Configs for Glints
# ESLint Configs for Glints [![npm version](https://badge.fury.io/js/%40glints%2Feslint-config.svg)](https://badge.fury.io/js/%40glints%2Feslint-config)

@@ -7,2 +7,23 @@ This repository contains shared rules for ESLint.

# Usage Instructions
To integrate this into your project, install the package:
```
npm install --save-dev @glints/eslint-config # If using npm
yarn add --dev @glints/eslint-config # If using Yarn
```
Then add the following to your ESLint configuration:
```js
"extends": [
"@glints/eslint-config",
// Rules below are for projects that use React/JSX.
"@glints/eslint-config/react",
"@glints/eslint-config/jsx-control-statements"
]
```
# Contribution Guidelines

@@ -9,0 +30,0 @@

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