
Research
/Security News
Popular Tinycolor npm Package Compromised in Supply Chain Attack Affecting 40+ Packages
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
@eclipse-glsp/config
Advanced tools
Meta package that provides Typescript, eslint and prettier configurations and common dev dependencies for GLSP projects
Common shared configuration for Eclipse GLSP components that are implemented with Typescript. Provides a meta package that export common configuration objects for:
tsconfig.json
).eslintrc
).prettierrc
).The package is available via npm and is used by all GLSP components implemented with Typescript. ESLint and prettier are included as direct dependencies.
@eclipse-glsp/ts-config
: Shared Typescript configuration for GLSP projects@eclipse-glsp/eslint-config
: Shared ESLint configuration for GLSP projects@eclipse-glsp/prettier-config
: Shared Prettier configuration for GLSP projectsyarn add --dev @eclipse-glsp/config
Create a tsconfig.json
:
{
"extends": "@eclipse-glsp/ts-config",
"compilerOptions": {
"rootDir": "src",
"outDir": "lib"
}
}
In addition, a custom configuration for projects that use mocha
is available:
@eclipse-glsp/ts-config/mocha
Create a .eslintrc.js
:
/** @type {import('eslint').Linter.Config} */
module.exports = {
extends: '@eclipse-glsp',
parserOptions: {
tsconfigRootDir: __dirname,
project: 'tsconfig.json'
}
};
Add to the package.json
:
{
// ...
"prettier": "@eclipse-glsp/prettier-config"
}
Or add a .prettierrc
file to the workspace root:
"@eclipse-glsp/prettier-config"
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.
FAQs
Meta package that provides Typescript, eslint and prettier configurations and common dev dependencies for GLSP projects
We found that @eclipse-glsp/config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Malicious update to @ctrl/tinycolor on npm is part of a supply-chain attack hitting 40+ packages across maintainers
Security News
pnpm's new minimumReleaseAge setting delays package updates to prevent supply chain attacks, with other tools like Taze and NCU following suit.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.