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.
@1password/front-end-style
Advanced tools
Config for 1Password front-end code style using Prettier, ESLint, and Stylelint
This package contains config for 1Password front-end code style using Prettier, ESLint, and Stylelint.
After installing, you'll need to configure your project to use these styles:
Add to your package.json
file:
"prettier": "@1password/front-end-style/prettierrc.json"
Create an eslintrc.yml
file:
---
extends:
- "@1password/front-end-style/eslintrc.yml"
Add to your package.json
file:
"stylelint": {
"extends": "@1password/front-end-style/stylelintrc.yml"
}
A basic SVG linting tool is included as well, which checks for unnecessary line breaks and tags.
Run with svglint [directory]
You should also install the related IDE extensions so you can see issues (and sometimes get them auto-fixed) as you code.
Prettier
ESLint
Stylelint
We'll be using semantic versioning when updating the package version number. The following is used to differentiate between the version identifiers.
Format: major
.minor
.patch
major
: Any breaking change
major
version bump of any NPM dependencies in package.json
minor
: Any non-breaking change affecting the functionality of the package
minor
version bump of any NPM dependencies in package.json
, but no major
version bumppatch
: Any change not affecting the functionality of the package
patch
version bumps of NPM dependencies in package.json
yarn.lock
FAQs
Config for 1Password front-end code style using Prettier, ESLint, and Stylelint
The npm package @1password/front-end-style receives a total of 548 weekly downloads. As such, @1password/front-end-style popularity was classified as not popular.
We found that @1password/front-end-style 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.