New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-adjunct

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-adjunct - npm Package Compare versions

Comparing version 4.12.1 to 4.12.2

.github/FUNDING.yml

3

index.js
const checkMissing = require('./lib/missing')
const showLoaded = require('./lib/loaded')
const { hasAnyDep } = require('./lib/utils')
const { rules, extraInstallPackage } = require('./configs')

@@ -10,3 +11,3 @@

rules.push('prettier')
if (hasAnyDep('prettier')) rules.push('prettier')

@@ -13,0 +14,0 @@ // Disable some rules in unit tests

{
"name": "eslint-config-adjunct",
"version": "4.12.1",
"version": "4.12.2",
"author": "David J. Bradshaw",

@@ -16,4 +16,5 @@ "license": "MIT",

"eslint:fix": "npm run eslint --fix",
"prepublishOnly": "eslint-find-rules -d --no-core",
"test": "npm run eslint && npm run prepublishOnly"
"prepublishOnly": "npm run test",
"postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags",
"test": "npm run eslint && eslint-find-rules -d --no-core"
},

@@ -31,3 +32,3 @@ "keywords": [

"arrify": "^2.0.1",
"cosmiconfig": "^8.0.0",
"cosmiconfig": "^8.1.0",
"lodash": "^4.17.21",

@@ -42,8 +43,8 @@ "mkdirp": "^2.1.3",

"@testing-library/jest-dom": "^5.16.5",
"@typescript-eslint/eslint-plugin": "^5.52.0",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"ava": "^5.2.0",
"babel-eslint": "^10.1.0",
"chai": "^4.3.7",
"cypress": "^12.6.0",
"eslint": "^8.34.0",
"cypress": "^12.7.0",
"eslint": "^8.35.0",
"eslint-config-airbnb": "^19.0.4",

@@ -107,3 +108,3 @@ "eslint-config-prettier": "^8.6.0",

"safe-publish-latest": "^2.0.0",
"snyk": "^1.1105.0",
"snyk": "^1.1109.0",
"testing-library": "0.0.2"

@@ -110,0 +111,0 @@ },

module.exports = {
'plugins': [
'const-case'
],
'rules': {
'const-case/uppercase': 'error'
}
plugins: ['const-case'],
rules: { 'const-case/uppercase': 'error' },
}
module.exports = {
"extends": ["plugin:pii/recommended"],
"rules": {
"pii/no-dob": 0, // Buggy rule
}
extends: ['plugin:pii/recommended'],
rules: {
'pii/no-dob': 0, // Buggy rule
},
}

@@ -34,14 +34,14 @@ const { hasAnyDep } = require('../lib/utils')

extends: configs,
// plugins: ['prettier'],
// rules: {
// 'prettier/prettier': 'error',
// },
// overrides: [
// {
// files: ['**.md', '**.json'],
// rules: {
// 'prettier/prettier': 'off',
// },
// },
// ],
plugins: ['prettier'],
rules: {
'prettier/prettier': 'error',
},
overrides: [
{
files: ['**.md', '**.json'],
rules: {
'prettier/prettier': 'off',
},
},
],
}

@@ -10,4 +10,4 @@ module.exports = {

'unicorn/prevent-abbreviations': 0,
"unicorn/switch-case-braces": ["error", "avoid"],
'unicorn/switch-case-braces': ['error', 'avoid'],
},
}
module.exports = {
"extends": [
"plugin:xss/recommended"
]
extends: ['plugin:xss/recommended'],
}
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