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

@eox/eslint-config

Package Overview
Dependencies
Maintainers
5
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eox/eslint-config - npm Package Compare versions

Comparing version 2.0.0-alpha to 2.0.0

14

index.js

@@ -6,4 +6,8 @@ import eslintConfigPrettier from "eslint-config-prettier";

import tsParser from "@typescript-eslint/parser";
import vueParser from "vue-eslint-parser";
import pluginCypress from "eslint-plugin-cypress/flat";
import pluginChaiFriendly from "eslint-plugin-chai-friendly";
export default [
pluginCypress.configs.recommended,
eslint.configs.recommended,

@@ -13,4 +17,8 @@ ...tseslint.configs.recommended,

{
plugins: { "chai-friendly": pluginChaiFriendly },
languageOptions: {
parser: tsParser,
parser: vueParser,
parserOptions: {
parser: tsParser,
},
globals: {

@@ -22,3 +30,2 @@ ...globals.node,

rules: {
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/no-explicit-any": "warn",

@@ -30,6 +37,9 @@ "@typescript-eslint/no-unused-vars": [

argsIgnorePattern: "^_",
caughtErrorsIgnorePattern: "^_",
},
],
"@typescript-eslint/no-unused-expressions": "off", // disable original rule
"chai-friendly/no-unused-expressions": "error",
},
},
];

9

package.json
{
"name": "@eox/eslint-config",
"version": "2.0.0-alpha",
"description": "EOX Prettier and ESLint config for Vue.js projects",
"version": "2.0.0",
"description": "EOX Prettier and ESLint config for JS projects",
"main": "index.js",

@@ -14,6 +14,9 @@ "repository": "https://github.com/EOX-A/code-style-vue",

"eslint-config-prettier": "^9.1.0",
"eslint-plugin-chai-friendly": "^1.0.0",
"eslint-plugin-cypress": "^3.3.0",
"globals": "^15.4.0",
"prettier": "^3.3.2",
"typescript-eslint": "^8.0.0-alpha.30"
"typescript-eslint": "^8.0.0-alpha.30",
"vue-eslint-parser": "^9.4.3"
}
}

@@ -13,2 +13,5 @@ # EOX ESLint & Prettier config for JS projects

- typescript-eslint parser
- vue-eslint parser
- cypress rules
- chai friendly errors

@@ -15,0 +18,0 @@ The config also includes a minimal set of rules, defined in [index.js](./index.js).

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