@putout/eslint
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -9,2 +9,3 @@ 'use strict'; | ||
const overrideConfigFile = process.env.ESLINT_CONFIG_FILE; | ||
const noESLint = process.env.NO_ESLINT; | ||
@@ -34,2 +35,5 @@ const noConfigFound = (config, configError) => { | ||
if (noESLint) | ||
return noChanges; | ||
const [, ESLint] = await tryToCatch(simpleImport, './get-eslint.mjs'); | ||
@@ -36,0 +40,0 @@ |
{ | ||
"name": "@putout/eslint", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"type": "commonjs", | ||
@@ -46,3 +46,3 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", | ||
"just-camel-case": "^4.0.2", | ||
"lerna": "^5.0.0", | ||
"lerna": "^6.0.1", | ||
"madrun": "^9.0.0", | ||
@@ -53,3 +53,3 @@ "mock-require": "^3.0.3", | ||
"putout": "*", | ||
"supertape": "^7.0.0", | ||
"supertape": "^8.0.0", | ||
"try-catch": "^3.0.0" | ||
@@ -56,0 +56,0 @@ }, |
@@ -38,3 +38,3 @@ # @putout/eslint [![NPM version][NPMIMGURL]][NPMURL] | ||
- ☝️ *[🐊**Putout** returns object with `code` and `places` properties](https://github.com/coderaiser/putout#plugins).* | ||
- ☝️ *[🐊**Putout** returns object with `code` and `places` properties](https://github.com/coderaiser/putout#plugins), and **ESLint* returns a tuple** | ||
- ☝️ ***ESLint** has a `name` property that is used to calculate configuration file.* | ||
@@ -57,3 +57,3 @@ | ||
If you want to apply 🐊**Putout** transformations using [`putout/putout`](https://github.com/coderaiser/putout/tree/master/packages/eslint-plugin-putout#readme) **ESLint** rule, enable 🐊**Putout** with the same called flag lowercased: | ||
If you want to apply 🐊**Putout** transformations using [`putout/putout`](https://github.com/coderaiser/putout/tree/master/packages/eslint-plugin-putout#readme) **ESLint** rule, enable 🐊**Putout** with the same called but lowercased flag: | ||
@@ -158,2 +158,3 @@ ```js | ||
const lint = require('@putout/eslint/lint'); | ||
const {createPlugin} = require('@putout/eslint/create-plugin'); | ||
const removeDebugger = require('./remove-debugger'); | ||
@@ -160,0 +161,0 @@ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
17104
314
185
2