@eox/eslint-config
Advanced tools
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", | ||
}, | ||
}, | ||
]; |
{ | ||
"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). |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5781
40
1
164
9
+ Addedeslint-plugin-cypress@^3.3.0
+ Addedvue-eslint-parser@^9.4.3
+ Addedeslint-plugin-chai-friendly@1.0.1(transitive)
+ Addedeslint-plugin-cypress@3.6.0(transitive)
+ Addedeslint-scope@7.2.2(transitive)
+ Addedespree@9.6.1(transitive)
+ Addedglobals@13.24.0(transitive)
+ Addedlodash@4.17.21(transitive)
+ Addedtype-fest@0.20.2(transitive)
+ Addedvue-eslint-parser@9.4.3(transitive)