Could you help me, I've got this error when I try building a project? Oops! Something went wrong! :( ESLint: 8.0.0 TypeError: Failed to load plugin '@types
Trying to install eslint into create-react-app, but get next error when running linter: Here is my .eslintrc config file: { "extends": ["airbnb", "prettie
I'm having ESLint in my project and getting an error Resolve Error: typescript with invalid interface loaded as resolver : import-no-restricted-paths when I ad
I have multiple overrides that target different file subsets, but some overlap. But eslint only seems to use the last matched override, thereby ignoring some of
I am having issues with configuration with typescript. Here is my following code in tsconfig.json: { "compilerOptions": { "target": "es5", "lib": [
Can someone explain exactly what no-unused-state means and why is it considered bad practice? I can't seem to find any information other than the following sen
I have a custom eslint-config that has several plugins for various packages, including jest. I have the main set to an index which just extends other files. Lo
In a SvelteKit project, I have included the a svelte type. My problem is that my linting (ESLint) throws an error saying that 'svelte' is not defined. My code i
I saw the way to suppress this with jsLint, tried it, it did not work. I need the 'new' keyword or my script does notwork. How can I suppress it in .eslintrc?
I saw the way to suppress this with jsLint, tried it, it did not work. I need the 'new' keyword or my script does notwork. How can I suppress it in .eslintrc?
I configured .eslintrc.json in Nx/nrwl monorepo for React project. When I add group to pattern attribute to no-restricted-import "rules": { "no-restricted-i
I have the Code for some iterations and it works well. After installing eslint, One of my code generates an error by eslint. My code is: for (const column of
In my class, eslint is complaining "Expected 'this' to be used by class method 'getUrlParams' Here is my class: class PostSearch extends React.Component { c
ESLint is giving me this error on a react project. Component should be written as a pure function (react prefer/stateless function) It points to the first lin
This is my code: const func = () => { return ( <div > you're free </div> )} Somehow eslint flags the line "you're free" w
Is it possible to have different rules applied to files based on their files extension? For example I have [test].spec.js test spec files residing along my sour
My eslint version is 4.18.2, it would give a warning like this: Unexpected unnamed function Expected an assignment or function call and instead saw an ex
I know you can define rules in an .eslintrc file, but what if I just want to run eslint and check for one specific rule? E.g. $ eslint helpme.js --rule some-im
In my Chai tests I often find myself wanting to use their assertions that are something like .to.be.empty, .to.be.true e.t.c., because I find them to be cleaner
I have the same error as this answer, except instead of it just occurring in one file it is occurring in many; once I fix it for one file, another just pops up