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

@jxstjh/eslint-config-standard

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jxstjh/eslint-config-standard - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

6

index.js

@@ -17,9 +17,5 @@ /**

env: {
browser: true, // 浏览器全局变量
node: true, // Node.js 全局变量和 Node.js 作用域
es6: true // 启用 ES6 语法支持 及 新的 ES6 全局变量
node: true // Node.js 全局变量和 Node.js 作用域
},
extends: [
'@vue/standard',
'plugin:vue/strongly-recommended',
], // 一个配置文件可以从基础配置中继承已启用的规则,每个配置继承它前面的配置

@@ -26,0 +22,0 @@

6

package.json
{
"name": "@jxstjh/eslint-config-standard",
"version": "0.0.2",
"version": "0.0.3",
"description": "@jxstjh内部vue eslint规则",

@@ -21,6 +21,4 @@ "main": "index.js",

"devDependencies": {
"chalk": "^4.1.0",
"eslint": "^7.12.1",
"eslint-plugin-vue": "^7.1.0"
"chalk": "^4.1.0"
}
}
/* eslint-disable max-len */
const emoji = require('node-emoji');
const chalk = require('chalk');
const fs = require('fs');
const { resolve } = require('path');

@@ -13,4 +14,13 @@ const log = console.log;

// make vscode setting.json start
console.log(__dirname)
console.log(process.cwd())
console.log(resolve('./'))
function hasSettingsJsonFile() {
const pwd = (resolve('./.vscode/settings.json'));
console.log(pwd)
if (fs.existsSync(pwd)) {
console.log('The path exists.');
} else {
console.log('The path not exists.');
}
}

@@ -20,2 +30,2 @@ function getSettingsJsonFile() {

}
console.log('1' + resolve('./'))
hasSettingsJsonFile();
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