
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@losant/eslint-config-losant
Advanced tools
ESLint config for all Losant projects.
npm install --save-dev @losant/eslint-config-losant
yarn add --dev @losant/eslint-config-losant
>=8.3.0
>=4.0.0
Browser
{
"eslintConfig": {
"extends": "@losant/eslint-config-losant/env/browser",
}
}
Node
{
"eslintConfig": {
"extends": "@losant/eslint-config-losant/env/node",
}
}
You should add an npm script to the package.json
of the project that specifies the eslint command. lint
is the barebones setup you'll need to then be able to do yarn run lint
. It's recommended that you add the other commands as well.
{
"scripts": {
"lint": "esw *.js src test",
"lint:fix": "ews --fix *.js src test",
"lint:watch": "esw --watch *.js src test",
"lint:staged": "lint-staged"
},
"lint-staged": {
"*.js": "esw"
}
}
FAQs
Common eslint config for Losant
The npm package @losant/eslint-config-losant receives a total of 155 weekly downloads. As such, @losant/eslint-config-losant popularity was classified as not popular.
We found that @losant/eslint-config-losant demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.