
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@refinitiv-ui/configurations
Advanced tools
The package contains eslint and TypeScript configurations used for Element Framework development.
Use ESLint to lint your es6 code.
Use TypeScript to keep the code easier to deploy, read and debug.
Configurations are used across all Element Framework components for consistency and code quality.
npm install @refinitiv-ui/configurations --save-dev
This will install the following files:
eslint-config.js - generic ESLint configurationtypescript.eslint-config.js - extends of eslint-config.js with support of recommended linting for TypeScripttsconfig.json - development TypeScript parser configurations to meet ES6 specsprod.tsconfig.json- extends tsconfig.json to provide production configurationsYou can override/use your own files to meet project requirements.
Below configurations are used with TypeScript (Element Framework v7).
Your project level (local) .eslintrc:
{
"root": true,
"extends": ["./node_modules/@refinitiv-ui/configurations/typescript.eslint-config.js"],
"parserOptions": {
"project": "./tsconfig.json"
}
}
eslint from version 6 does not support global modules and cannot resolve extensions by generic package name. Therefore you must ensure that extends contain the full path to the location of this module.
Your project level tsconfig.json:
{
"extends": "@refinitiv-ui/configurations/tsconfig.json"
}
Below configurations are used when TypeScript is not required.
Your project level (local) .eslintrc:
{
"root": true,
"extends": ["./node_modules/@refinitiv-ui/configurations/eslint-config.js"]
}
Modern IDE should pick up configurations automatically and apply to the project.
FAQs
The configuration files used for Element Framework
The npm package @refinitiv-ui/configurations receives a total of 8 weekly downloads. As such, @refinitiv-ui/configurations popularity was classified as not popular.
We found that @refinitiv-ui/configurations demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.