Common shared configuration for Eclipse GLSP components that are using ESLint for linting.
yarn add --dev @eclipse-glsp/eslint-config
Create a .eslintrc.js
:
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: '@eclipse-glsp',
parserOptions: {
tsconfigRootDir: __dirname,
project: 'tsconfig.json'
}
};
For more information, please visit the Eclipse GLSP Umbrella repository and the Eclipse GLSP Website. If you have questions, please raise them in the discussions and have a look at our communication and support options.