To enable ESLint language support in your IDE, you can integrate the ESLint Language Server by following these steps:
-
Open an
.jsfile in your project. -
Click on Install ESLint Language Server:
-
This will open the New Language Server Dialog with
ESLint Language Serverpre-selected: -
Click OK. This will create the
ESLint Language Serverdefinition and start the installation: -
Once the installation completes, the server should start automatically and provide ESLint language support (autocomplete, diagnostics, etc.).
- Execute
npm install eslintin your project root - Create an
eslint-config.jsfile on your root project like this:
export default [
{
files: ['**/*.js'],
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {
'no-console': 'error',
},
},
];- Create a
test.jsfile like this:
const s = "foo";
console.log(s);You should see an eslint error on console.
If the installation fails, you can customize the installation settings in the Installer tab,
then click on the Run Installation hyperlink to reinstall the server:
See Installer descriptor for more information.




