eslint-plugin-shopify
Advanced tools
Comparing version 10.8.0 to 11.0.0-beta.0
@@ -12,3 +12,4 @@ module.exports = { | ||
react: require('./lib/config/react'), | ||
lodash: require('./lib/config/lodash'), | ||
}, | ||
}; |
{ | ||
"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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
99959
38
1220
83
2