Security News
CISA Brings KEV Data to GitHub
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
bounce-in-style
Advanced tools
The Bounce style guide, formatter, and commit validator.
.eslintignore
and .prettierignore
files)# npm
npm install bounce-in-style -D
# yarn
yarn add bounce-in-style -D
npm uninstall husky
npm install husky -D
npx husky install
npm install
:{
"scripts": {
"prepare": "husky install"
}
}
Lint and format
# react projects
npx husky add .husky/pre-commit "npx bis --staged --react"
# react-native projects
npx husky add .husky/pre-commit "npx bis --staged --react-native"
# all other projects (ie backend)
npx husky add .husky/pre-commit "npx bis --staged"
Commit validation
npx husky add .husky/commit-msg "npx commitlint --edit \"\$1\" --config ./node_modules/commitlint-config-bouncedinc/index.js"
# with npm
npx bis -h
# Usage
# $ npx bis [flags]
# Options
# --help Print help message.
# -r, --react Use for React projects.
# -n, --react-native Use for React Native projects.
# -s, --staged Only run on staged files. Useful when adding as a git hook.
# -c, --check Only check files. Skips running Prettier and doesn't use the --fix flag for ESLint.
# This option does not support the --staged flag.
To add linting capabilities to VSCode
.vscode
folder at the root of your projectconfigFile
path with ./node_modules/eslint-config-bouncedinc-react/index.js
configFile
path with ./node_modules/eslint-config-bouncedinc-react-native/index.js
tsc
All Bounce projects should have a git hook (either pre-commit or pre-push) for running tsc
.
We don't recommend extending the config when using internal to Bounce, instead a PR should be made into this repo to add the change for everyone. If you do need to extend the config, you can treat it like any other eslint config. The simplest way to do so can be seen in the .eslintrc
file at the root of this repo.
FAQs
The Bounce style guide, formatter, and commit validator.
The npm package bounce-in-style receives a total of 29 weekly downloads. As such, bounce-in-style popularity was classified as not popular.
We found that bounce-in-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
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
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.