eslint-nibble
Advanced tools
Comparing version
{ | ||
"parserOptions": { | ||
"sourceType": "module", | ||
"ecmaVersion": 6 | ||
"ecmaVersion": 2018 | ||
}, | ||
@@ -11,2 +11,3 @@ "env": { | ||
"rules": { | ||
"no-var" : [0], | ||
"consistent-return" : [2], | ||
@@ -13,0 +14,0 @@ "no-use-before-define" : [2], |
#!/usr/bin/env node | ||
var cli = require('../lib/cli'); | ||
var cli = require('../src/cli'); | ||
var exitCode = cli.execute(process.argv); | ||
/* | ||
* Wait for the stdout buffer to drain. | ||
*/ | ||
process.on('exit', function () { | ||
process.exit(exitCode); | ||
}); | ||
(async function () { | ||
var exitCode = await cli.execute(process.argv); | ||
/* | ||
* Wait for the stdout buffer to drain. | ||
*/ | ||
process.on('exit', function () { | ||
process.exit(exitCode); | ||
}); | ||
})(); |
# eslint-nibble Changelog | ||
### 8.0.0 | ||
- (Breaking) Require ESLint >= 7 (to support ESLint 8) (#88) | ||
- (Build) Remove babel compilation step (#89) | ||
### 7.0.0 | ||
@@ -4,0 +8,0 @@ - (Breaking) Drop node < 12 (#83) |
#!/usr/bin/env node | ||
module.exports = require('./lib/main'); | ||
module.exports = require('./src/main'); |
{ | ||
"name": "eslint-nibble", | ||
"version": "7.0.0", | ||
"version": "8.0.0", | ||
"description": "Ease into ESLint, by fixing one rule at a time", | ||
@@ -13,8 +13,5 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "tape -r @babel/register tests/**/*.js | tap-difflet", | ||
"pretest": "npm run lint && npm run compile", | ||
"compile": "babel src --out-dir lib", | ||
"compilew": "babel src --out-dir lib --watch", | ||
"prepublish": "npm run compile", | ||
"lint": "eslint src tests/lib" | ||
"pretest": "npm run lint", | ||
"test": "tape tests/src/*.js | tap-difflet", | ||
"lint": "eslint src tests/src" | ||
}, | ||
@@ -42,3 +39,3 @@ "keywords": [ | ||
"chalk": "^4.1.1", | ||
"eslint-filtered-fix": "^0.1.1", | ||
"eslint-filtered-fix": "^0.2.0", | ||
"eslint-formatter-friendly": "^7.0.0", | ||
@@ -50,12 +47,7 @@ "eslint-summary": "^1.0.0", | ||
"devDependencies": { | ||
"@babel/cli": "^7.0.0", | ||
"@babel/core": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"@babel/register": "^7.0.0", | ||
"eslint": "^7.6.0", | ||
"eslint-config-standard": "^14.1.0", | ||
"eslint-plugin-import": "^2.22.0", | ||
"eslint-plugin-node": "^10.0.0", | ||
"eslint-plugin-promise": "^4.2.1", | ||
"eslint-plugin-standard": "^4.0.1", | ||
"eslint": "^8.3.0", | ||
"eslint-config-standard": "^16.0.3", | ||
"eslint-plugin-import": "^2.25.3", | ||
"eslint-plugin-node": "^11.1.0", | ||
"eslint-plugin-promise": "^5.1.1", | ||
"tap-difflet": "^0.7.2", | ||
@@ -66,4 +58,4 @@ "tape": "^5.2.2", | ||
"peerDependencies": { | ||
"eslint": ">=4.0.0" | ||
"eslint": ">=7.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8
-38.46%461
5.01%192858
-16.83%1
Infinity%+ Added
- Removed
Updated