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-globeletjs
Advanced tools
A basic ESLint configuration for GlobeletJS modules
To use this configuration in your module, run:
npm install --save-dev eslint eslint-config-globeletjs
Then add the following in an .eslintrc.json
in the project's root directory:
{
"extends": "globeletjs"
}
Finally, add a linting script to your package.json
file:
"scripts": {
"lint": "eslint src examples/*/*.js",
"pretest": "npm run lint"
}
To see which of your code is inconsistent with the GlobeletJS coding style, you can run
npm run lint
If you are brave, you can automatically fix errors in a given file as follows:
npx eslint --fix file.js
Many popular standards, including the AirBnB, Google, and Standard style guides, require single quotes for strings.
GlobeletJS uses double quotes, except where single quotes can help avoid the need to escape a double quote within the string. There are 2 main reasons for this:
One reason given for single quotes is that it allows HTML strings to be written without escapes. (The values of HTML attributes are typically enclosed in double quotes.) We don't accept this argument, for two reasons:
FAQs
A basic ESLint configuration for GlobeletJS modules
The npm package eslint-config-globeletjs receives a total of 6 weekly downloads. As such, eslint-config-globeletjs popularity was classified as not popular.
We found that eslint-config-globeletjs 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.