
Product
Introducing Pull Request Stories to Help Security Teams Track Supply Chain Risks
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
@flowplayer/playback-prettier-config
Advanced tools
Shared prettier configuration made by the Playback team
This project provides a shared Prettier configuration for use across internal projects within the Playback team. It ensures consistent code formatting for JS/TS files in CI pipelines and local development.
You can install this configuration as a development dependency in your project by running:
yarn add -D @flowplayer/playback-prettier-config
or
npm install -D @flowplayer/playback-prettier-config
After installation, you can use this Prettier configuration by referencing it in your project's config files.
prettier.config.js
You can import and extend the configuration in your project's prettier.config.js
or prettier.config.cjs
by adding the following:
// prettier.config.js
import config from '@flowplayer/playback-prettier-config'
export default {
...config,
// Add any project-specific overrides here
}
package.json
Alternatively, reference it in your package.json
:
{
"prettier": "@flowplayer/playback-prettier-config"
}
The shared configuration currently includes the following rules:
"es5"
2
false
true
For more configuration options, refer to Prettier's documentation.
Contributions are welcome! Please submit a pull request or open an issue if you have suggestions or improvements.
This repository is configured with a GitHub Actions workflow, defined in the publish.yml file, to automatically publish the package to npm.
ubuntu-latest
, checks out the code, sets up Node.js with version 20.x
, and uses the associated npm registry URL.yarn
to install dependencies and publish the package to npm. Note that for Yarn version 1, the script uses yarn publish
.NPM_TOKEN
: This should be an npm token with permission to publish to your desired npm scope or account.FAQs
Shared prettier configuration made by the Playback team
We found that @flowplayer/playback-prettier-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.