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

@vue/create-eslint-config

Package Overview
Dependencies
Maintainers
9
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/create-eslint-config - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

renovate.json

1

bin/create-eslint-config.js

@@ -279,2 +279,3 @@ import { existsSync, readFileSync, writeFileSync, unlinkSync } from 'node:fs'

// - Otherwise -> eslint ... (extensions vary based on the language)
// Add a `format` command to package.json when prettier is used
// TODO:

@@ -281,0 +282,0 @@ // Add a note about that Vue CLI projects may need a `tsconfig.eslint.json`

13

index.js
import { stringify } from 'javascript-stringify'
import * as editorconfigs from './templates/editorconfigs.js'
import * as prettierrcs from './templates/prettierrcs.js'
import prettierrcs from './templates/prettierrcs.cjs'
import versionMap from './versionMap.cjs'

@@ -111,10 +111,11 @@

deepMerge(pkg.devDependencies, additionalDependencies)
deepMerge(eslintConfig, additionalConfig)
if (needsPrettier) {
addDependency('prettier')
addDependencyAndExtend('@vue/eslint-config-prettier')
addDependency('@vue/eslint-config-prettier')
eslintConfig.extends.push('@vue/eslint-config-prettier/skip-formatting')
}
deepMerge(pkg.devDependencies, additionalDependencies)
deepMerge(eslintConfig, additionalConfig)
const files = {

@@ -147,3 +148,3 @@ '.eslintrc.cjs': ''

// Prettier recommends an explicit configuration file to let the editor know that it's used.
files['.prettierrc.json'] = prettierrcs[styleGuide] || '{}'
files['.prettierrc.json'] = JSON.stringify(prettierrcs[styleGuide], undefined, 2)
}

@@ -150,0 +151,0 @@

{
"name": "@vue/create-eslint-config",
"version": "0.1.3",
"version": "0.2.0",
"description": "Utility to setup ESLint in Vue.js projects.",

@@ -11,4 +11,7 @@ "type": "module",

"engines": {
"node": "^14.18.0 || >=16.0.0"
"node": "^16.14.0 || >= 18.0.0"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {

@@ -35,21 +38,18 @@ "type": "git",

"javascript-stringify": "^2.1.0",
"kolorist": "^1.5.1"
"kolorist": "^1.7.0"
},
"devDependencies": {
"@rushstack/eslint-patch": "^1.1.4",
"@rushstack/eslint-patch": "^1.2.0",
"@vue/eslint-config-airbnb": "^7.0.0",
"@vue/eslint-config-airbnb-with-typescript": "^7.0.0",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-standard": "^8.0.1",
"@vue/eslint-config-standard-with-typescript": "^8.0.0",
"@vue/eslint-config-typescript": "^11.0.0",
"eslint": "^8.22.0",
"eslint-plugin-vue": "^9.3.0",
"prettier": "^2.7.1",
"@vue/eslint-config-typescript": "^11.0.2",
"eslint": "^8.34.0",
"eslint-plugin-vue": "^9.9.0",
"prettier": "^2.8.4",
"standard": "^17.0.0",
"typescript": "~4.7.4"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"typescript": "~4.9.5"
}
}
}
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