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

eslint-plugin-shopify

Package Overview
Dependencies
Maintainers
3
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-shopify - npm Package Compare versions

Comparing version 10.8.0 to 11.0.0-beta.0

lib/config/core.js

1

index.js

@@ -12,3 +12,4 @@ module.exports = {

react: require('./lib/config/react'),
lodash: require('./lib/config/lodash'),
},
};

2

package.json
{
"name": "eslint-plugin-shopify",
"version": "10.8.0",
"version": "11.0.0-beta.0",
"description": "Shopify’s ESLint rules and configs.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -49,5 +49,26 @@ # eslint-plugin-shopify

You can also add some "augmenting" configs on top of the "core" config by extending an array of linting configs. For example, this package provides a lodash linting config, which can be added to the ESNext config with the following configuration file:
```json
{
"extends": [
"plugin:shopify/esnext",
"plugin:shopify/lodash"
]
}
```
This plugin provides the following core configurations:
- [esnext](lib/config/esnext.js): Use this for anything written with ES2015+ features.
- [react](lib/config/react.js): Use this for React projects.
- [es5](lib/config/es5.js): Use this for legacy projects.
This plugin also provides the following tool-specific configurations, which can be used on top of the core configurations:
- [lodash](lib/config/lodash.js): Use this for projects that use lodash.
## Plugin-Provided Rules
This plugin provides the following custom rules:
This plugin provides the following custom rules, which are included as appropriate in all core linting configs:

@@ -54,0 +75,0 @@ - [require-flow](docs/rules/require-flow.md): Requires (or disallows) @flow declarations be present at the top of each file.

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