Research
Security News
Malicious PyPI Package ‘pycord-self’ Targets Discord Developers with Token Theft and Backdoor Exploit
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
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 81 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.
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.
Security News
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.