Questions tagged [eslint-plugin]
6 questions
1
vote
0 answers
Sublime text editor ESLint plugin acts like ESLint not installed when I try to lint file
Following the instructions located at https://packagecontrol.io/packages/ESLint, I installed Node.JS, then installed ESLint, then opened Sublime Text Editor and used the Command Palette to install the ESLint package per the instructions. But when I…

dennis
- 21
- 3
0
votes
0 answers
Gatsby - Conflicting peer dependency: with eslint-config-react-app and @typescript-eslint/eslint-plugin
I am using gatsby (5.12.3). I found that it has a dependency on "@typescript-eslint/eslint-plugin": "^5.60.1" and "eslint-config-react-app": "^6.0.0",
The "eslint-config-react-app" has a dependency on "@typescript-eslint/eslint-plugin": "^4.0.0"
The…

Michael Sync
- 4,834
- 10
- 40
- 58
0
votes
1 answer
what is the eslint config "plugins" value used for?
While configuring eslint I stumbled over the fact, that some preconfigured plugins suggest setting the "plugins" : [] value inside my config (typescript), while other plugins don't suggest it (stencil).
On the prementioned Typescripts plugin…

Basti
- 606
- 1
- 12
- 22
0
votes
0 answers
Wrote a Custom Eslint Plugin To Find Duplicate Values In A Json File But It's Not Finding The Duplications
I have multiple Json files. People are writing to these files manually. I want to be able to detect the duplicate values inside each file and throw and error.
I want to utilize eslint to do this and integrate the vscode format on save and fix on…

turtur
- 1
- 1
0
votes
0 answers
Implementing eslint-disable in an eslint plugin
I'm working with svelte's eslint plugin, and I'd like to fix an issue where the plugin is not respecting in svelte's templates. In other words, this problem here:…

nnyby
- 4,748
- 10
- 49
- 105
-3
votes
1 answer
How to make an asynchronous process as synchronous in javascript
I am currently developing a plugin for eslint. I have encountered the following problem.
I want to make hot changes to the configuration file, so we are required to make an Http request to get the JSON file with the configuration.
As for the context…

javigala98
- 1
- 1