Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
eslint-config-usecases
Advanced tools
ESLint configs by usecase
Those ESLint configs are presented around 3 use cases of JavaScript:
usecases/usecase/nodejs
)usecases/usecase/browser
)usecases/usecase/dev
)All those usecases have their special env and rules set, and all those usecases inherit some common properties.
In your project locally install the eslint-config-usecases
package:
$ npm install eslint-config-usecases --save-dev
Then add a file .eslintrc.js
at the root of your project with the following content:
module.exports = {
extends: 'usecases/usecase/nodejs'
}
And you can change usecases/usecase/nodejs
to the value of the corresponding
usecase.
Note that you can add many different .eslintrc.js
files in the tree structure
of your project depending on what is inside each directory.
For more information read ESLint Shareable Configs
Those linting and style rules are the ones I use for the projects I work on, but fill free to contribute if you have similar tastes.
So pull Requests and contributions in general are welcome
FAQs
ESLint configs by usecase
The npm package eslint-config-usecases receives a total of 9 weekly downloads. As such, eslint-config-usecases popularity was classified as not popular.
We found that eslint-config-usecases 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.