Skip to content

Commit

Permalink
fix: eslint next (#7169)
Browse files Browse the repository at this point in the history
* chore: register local plugin

* chore: changeset

* chore: cleanup

* feat: changeset message

---------

Co-authored-by: Andrzej Kurek <[email protected]>
  • Loading branch information
Razz21 and Andrzej Kurek authored Jun 6, 2024
1 parent c368fcc commit ffea2cd
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/witty-pants-carry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vue-storefront/eslint-config": patch
---

[FIXED] - Eslint plugin installation error
1 change: 0 additions & 1 deletion engineering-toolkit/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"eslint-plugin-unicorn": "^46.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"eslint-plugin-vue": "^9.10.0",
"eslint-plugin-custom-rules": "file:./src/custom-rules",
"eslint-plugin-filename-rules": "^1.3.1",
"eslint-plugin-perfectionist": "2.10.0",
"vue-eslint-parser": "^9.1.1"
Expand Down

This file was deleted.

7 changes: 6 additions & 1 deletion engineering-toolkit/eslint-config/src/next-strict.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
/* eslint-disable global-require */
/** @type {import("eslint").Linter.Config} */
module.exports = {
extends: [require.resolve("./next")],
plugins: ["filename-rules", "jsdoc", "custom-rules"],
plugins: {
jsdoc: require("eslint-plugin-jsdoc"),
"filename-rules": require("eslint-plugin-filename-rules"),
"custom-rules": require("./custom-rules/index"),
},
root: true,
ignorePatterns: [
"node_modules",
Expand Down
3 changes: 0 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9102,9 +9102,6 @@ eslint-module-utils@^2.8.0:
dependencies:
debug "^3.2.7"

"eslint-plugin-custom-rules@file:./engineering-toolkit/eslint-config/src/custom-rules":
version "0.0.1"

eslint-plugin-es@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz#75a7cdfdccddc0589934aeeb384175f221c57893"
Expand Down

0 comments on commit ffea2cd

Please sign in to comment.