Top "Eslint" questions

The pluggable linting utility for JavaScript and related frameworks.

esLint - Configuring "no-unused-vars" for Typescript

I use esLint in all of my Typescript projects with the following settings: "extends": ["airbnb", "prettier", 'plugin:vue/recommended'], "plugins": ["…

typescript eslint
How to work around jsx-a11y/no-static-element-interactions restriction?

I used the following jsx to construct an entry in a FAQ table: <li key={faqKey} className={styles.entry} …

react-jsx eslint eslint-config-airbnb
How do you disable indent checking on esLint?

The indent rule seems impossible to disable; how (in config settings) do I disable this rule? thanks.

eslint
ESLint only target a specific directory (eslintrc, create-react-app)

I have a folder structure similar to this: /root .eslintrc.json package.json /someFolder /sub /sub /anotherFolder /src /containers /components /…

javascript eslint eslintrc
eslint "parsing error: Unexpected token {" in JSX

const title = 'My Minimal React Webpack Babel Setups'; const App = () => (<div><b>{title}</b&…

javascript reactjs eslint eslint-config-airbnb eslintrc
eslint Parsing error: Unexpected token function with async

I am getting the following error in async usage on ESLINT. eslint Parsing error: Unexpected token function with async Here …

node.js eslint eslintrc
Failed to load plugin @typescript-eslint: Cannot find module 'eslint-plugin-@typescript-eslint'

I am reconfiguring my project from tslint to eslint. I can run eslint manually, but webpack fails to run with …

typescript webpack eslint eslintrc eslint-loader
How to configure eslint with nodejs express application

js application. I need to use eslint for this application. I am using https://www.npmjs.com/package/eslint-config-airbnb and …

javascript node.js eslint eslint-config-airbnb prettier
Ignore or prevent ESLint errors from breaking the build in a React project (create-react-project)

I've recently created a project with create-react-project. The problem is that, while I'm developing, every time there's a problem with …

reactjs webpack webpack-2 eslint eslintrc
module is not defined and process is not defined in eslint in visual studio code

I have installed eslint in my machine and i have used visual studio code i have certain modules and process …

module process eslint