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

@kevinoid/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kevinoid/eslint-config - npm Package Compare versions

Comparing version 26.0.0 to 27.0.0

rules/n.js

10

node.js

@@ -11,3 +11,3 @@ // ESLint configuration for Node 6 and later.

const { "configs": { "recommended": { "parserOptions": { sourceType } } } } =
requirePeer("eslint-plugin-node");
requirePeer("eslint-plugin-n");

@@ -34,3 +34,3 @@ module.exports = {

// field from nearest ancestor package.json to process.cwd().
"./rules/node"
"./rules/n"
],

@@ -44,3 +44,3 @@

},
// It would be preferable to use the version set by eslint-plugin-node
// It would be preferable to use the version set by eslint-plugin-n
// (determined based on package.json#engines/node). Unfortunately, it

@@ -53,4 +53,4 @@ // currently sets ecmaVersion: 2019 unconditionally, which lacks support

"env": {
// Disable es2021 env added by eslint-plugin-unicorn, add es2020 instead.
// TODO [engine:node@>=15]: Enable es2021 (AggregateError,
// Disable es2022 env added by eslint-plugin-unicorn, add es2020 instead.
// TODO [engine:node@>=15]: Enable es2022 (AggregateError,
// FinalizationRegistry, WeakRef)

@@ -57,0 +57,0 @@ "es2020": true,

{
"name": "@kevinoid/eslint-config",
"version": "26.0.0",
"version": "27.0.0",
"description": "ESLint shareable config for @kevinoid's style (based on airbnb).",

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

"eslint-plugin-jsdoc": "^39.0.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-unicorn": "^42.0.0"
"eslint-plugin-unicorn": "^43.0.0"
},

@@ -72,11 +72,11 @@ "devDependencies": {

"eslint-plugin-jsdoc": "^39.0.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-unicorn": "^42.0.0",
"eslint-plugin-unicorn": "^43.0.0",
"peer-version-check": "^0.1.0"
},
"engines": {
"node": "^14.14 || ^16",
"node": "^14.18 || ^16",
"npm": ">=1.3.7"
}
}

@@ -6,3 +6,3 @@ // ESLint IE 11 no-restricted-globals configuration rules

const assert = require("assert");
const assert = require("node:assert");
const airbnbVariables =

@@ -9,0 +9,0 @@ require("eslint-config-airbnb-base/rules/variables");

@@ -103,9 +103,2 @@ // ESLint common configuration rules for Unicorn plugin

// don't prefer node: protocol when importing builtin modules
// TODO: enable once eslint-plugin-node and depcheck support it:
// https://github.com/mysticatea/eslint-plugin-node/issues/275
// https://github.com/depcheck/depcheck/pull/635
// https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1200
"unicorn/prefer-node-protocol": "off",
// don't prefer Number static properties over global ones.

@@ -112,0 +105,0 @@ // I don't find these more-verbose and less-compatible versions preferable,

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