Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
brainly-style-guide
Advanced tools
This project is a living style guide of all basic front-end components used at Brainly.
Documentation is an esential part of this project. You can see its latest version on styleguide.brainly.com. New version of the docs is deployed with every merge to master. You can also browse older versions by changing version number in the URL. Documentation is splitted into four sections:
Current version of storybook is hosted under following dev URL - styleguide.brainly.com
All components can be used in both HTML and JSX. In both cases you have to include main CSS file, as described on the main docs page, in the head section of your page. In case of HTML, you just have to follow style-guide markup which you can easily copy by clicking on any component in the docs. If you prefer to use React instead, you'll have to add this repository as a dependency in package.json
and import components into your JSX file.
We officially support the following browsers (based on real user trafic from our analytics):
Browser | Versions |
---|---|
Google Chrome | 28+ |
Safari | 7+ |
Samsung Internet | 1.1+ |
YaBrowser | 15+ |
Android Webview | 30+ |
Firefox | 42+ |
UCBrowser | 8+ |
Android Browser | 4.0+ |
Opera | 33+ |
Opera Mini | 7+ |
Edge | 12+ |
Note: You can find all recent stats in our analytics (INTERNAL)
We welcome all issue reports and pull requests ❤️ If you'd like to contribute, please start with this doc.
We created a CLI tool that runs codemods with jscodeshift to batch refactor code. Usage:
yarn sg-codemod [...options]
where options
are:
--help
- display help--dry
- dry run (no changes are made to files)--glob
- use glob pattern to match files--jscodeshift
- pass options directly to jscodeshiftRead more here.
FAQs
Brainly Front-End Style Guide
We found that brainly-style-guide 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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.