Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@box/frontend-config
Advanced tools
Frontend related configs used by other Box frontend projects. Unless you are a part of another Box project, you should not be consuming any code from here. It is completely unsupported and can be highly unstable.
This project is published on public npmjs.
To push a new release, use yarn release:major
or yarn release:minor
or yarn release:patch
.
See package.json for peer dependencies.
Import eslintrc.js
from this project and re-export it within your own project's eslintrc.js
. Add any overrides as necessary, but it is recommended that you ideally should not be having any overrides at all.
module.exports = require('@box/frontend-config/eslint/eslintrc.js');
Project: https://github.com/stylelint/stylelint
Import stylelint.config.js
from this project and re-export it within your own project's stylelint.config.js
.
module.exports = require('@box/frontend-config/stylelint/stylelint.config.js');
Project: https://github.com/prettier/prettier
Import prettierrc.js
from this project and re-export it within your own project's prettierrc.js
.
module.exports = require('@box/frontend-config/prettier/prettierrc.js');
Project: https://github.com/marionebl/commitlint
Import commitlint.config.js
from this project and re-export it within your own project's commitlint.config.js
.
module.exports = require('@box/frontend-config/commitlint/commitlint.config.js');
You will also need to use something like husky for git hooks. And then add the following to your package.json
.
"husky": {
"hooks": {
"commit-msg": "commitlint -e"
}
}
dotfiles folder contains a few files that can used in your own project. Use them as needed and by renaming them to have a begining dot.
Add any overrides as necessary, but it is recommended that you ideally should not be having any overrides at all. To add overrides just extend the imported config with your own rules.
var eslintrc = require('@box/frontend-config/eslint/eslintrc.js');
eslintrc.rules = {
...eslintrc.rules,
'some/override': 0,
};
module.exports = eslintrc;
FAQs
Common config files for frontend projects
The npm package @box/frontend-config receives a total of 9 weekly downloads. As such, @box/frontend-config popularity was classified as not popular.
We found that @box/frontend-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 28 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
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.