Closed xiaocaibird closed 1 year ago
@xiaocaibird You cannot set the path. The extension starts at the directory of the file being formatted and traverses up the parent directories until it finds the .eslintrc
This issue is stale because it has been open for 14 days with no activity.
Hi @idahogurl , I know that the config file is found by being traversed up but do you think that we may support other configurations to support https://github.com/prettier/prettier-eslint#options?
My needs come from my project with a lot of nested .eslintrc
. I have root configs and configs for each projects. Sometimes, I want to configure another config which is not in a same directory.
@jungwookim I could support some of the options in https://github.com/prettier/prettier-eslint#options. I don't have time however to implement any enhancements currently. Feel free to create a PR similar to what I did to implement pretterLast
https://github.com/idahogurl/vs-code-prettier-eslint/pull/150
@idahogurl Thanks. I'm going to make a PR later. No problem!
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
We want to have only a few rules for formatting. Because the “--fix” of some rules can cause bugs.