@locker/eslint-config-locker
Advanced tools
Comparing version 0.11.16 to 0.12.1
/* | ||
* Copyright (c) 2020, salesforce.com, inc. | ||
* All rights reserved. | ||
* SPDX-License-Identifier: MIT | ||
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT | ||
*/ | ||
'use strict'; | ||
// Re-exporting the base configuration as the default config so you can omit the configuration name in the .eslintrc: | ||
// Re-exporting the base configuration as the default config so you can omit | ||
// the configuration name in the .eslintrc, i.e. | ||
// { "extends": "@locker/eslint-config-locker" } | ||
module.exports = require('./base'); |
{ | ||
"name": "@locker/eslint-config-locker", | ||
"version": "0.11.16", | ||
"version": "0.12.1", | ||
"license": "Salesforce Developer Agreement", | ||
"author": "Salesforce UI Security Team", | ||
"description": "Locker Next eslint configurations", | ||
"description": "Locker ESLint configurations", | ||
"keywords": [ | ||
@@ -20,3 +20,3 @@ "eslint", | ||
"dependencies": { | ||
"@locker/eslint-plugin-locker": "0.11.16" | ||
"@locker/eslint-plugin-locker": "0.12.1" | ||
}, | ||
@@ -27,3 +27,3 @@ "files": [ | ||
], | ||
"gitHead": "d8cc8542f5db478e0f94877d6303c544f9a6528f" | ||
"gitHead": "12dad6f850c542037e267bda7a4e0480ea7287dc" | ||
} |
# @locker/eslint-config-locker | ||
> ESLint configurations for Lightning Locker. | ||
> Locker ESLint configurations | ||
## Installation | ||
```bash | ||
$ npm install eslint @locker/eslint-config-locker --save-dev | ||
```shell | ||
$ yarn add --dev eslint @locker/eslint-config-locker | ||
``` | ||
@@ -19,7 +19,8 @@ | ||
{ | ||
"extends": ["@locker/eslint-config-locker/base"] | ||
"extends": ["@locker/eslint-config-locker"] | ||
} | ||
``` | ||
For more details about configuration, please refer to the dedicated section in the ESLint documentation: https://eslint.org/docs/user-guide/configuring#using-a-shareable-configuration-package | ||
For more details about configuration, please refer to the dedicated section in the ESLint documentation: | ||
https://eslint.org/docs/user-guide/configuring#using-a-shareable-configuration-package | ||
@@ -36,2 +37,4 @@ ## Configurations | ||
**Rules:** | ||
[Locker specific rules](https://github.com/salesforce/locker/tree/master/packages/%40locker/eslint-plugin-locker#Rules). | ||
[Locker specific rules][1]. | ||
[1]: https://www.npmjs.com/package/@locker/eslint-plugin-locker#rules |
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
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
39
4928
30
+ Added@locker/ast-lib-maker@0.12.1(transitive)
+ Added@locker/eslint-plugin-locker@0.12.1(transitive)
+ Added@locker/eslint-rule-maker@0.12.1(transitive)
+ Added@locker/shared@0.12.1(transitive)
- Removed@locker/ast-lib-maker@0.11.16(transitive)
- Removed@locker/eslint-plugin-locker@0.11.16(transitive)
- Removed@locker/eslint-rule-maker@0.11.16(transitive)
- Removed@locker/shared@0.11.16(transitive)