Commit 28e097ce authored by Joaquim Rocha's avatar Joaquim Rocha
Browse files

frontend: Ensure the current dir is picked by eslint for its plugins

There was an issue sometimes when trying to run one of the eslint
commands from "lint-staged" as it would find two versions of its
plugins (both from frontend/ and from the example plugins), so we
add an option to indicate that plugins should be resolved against
the current directory.
parent 836856ba
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -116,7 +116,7 @@
"prettier --config package.json --write"
],
"../plugins/examples/**/*.{ts,tsx}": [
"eslint -c package.json --fix"
"eslint -c package.json --fix --resolve-plugins-relative-to ."
],
"../plugins/examples/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --config package.json --write"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment