Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
@compiled/eslint-plugin
Advanced tools
A familiar and performant compile time CSS-in-JS library for React.
This plugin contains rules that should be used when working with @compiled/react
.
npm install @compiled/eslint-plugin --save-dev
Add @compiled
to the plugins section of your .eslintrc
configuration file, then configure the rules you want to use under the rules section.
{
"plugins": ["@compiled"],
"rules": {
"@compiled/rule-name": "error"
}
}
You can also enable the recommended rules for compiled by adding plugin:@compiled/recommended
in extends:
{
+ "extends": ["plugin:@compiled/recommended"],
- "plugins": ["@compiled"]
}
:white_check_mark: = recommended, :wrench: = automatically fixable, :bulb: = manually fixable
Name | Description | :white_check_mark: | Fixable |
---|---|---|---|
@compiled/jsx-pragma | Enforces a jsx pragma when using the css prop | :wrench: | |
@compiled/no-css-tagged-template-expression | Disallows the css tagged template expression | :white_check_mark: | :wrench: |
@compiled/no-emotion-css | Disallows @emotion usages | :wrench: | |
@compiled/no-exported-css | Disallows css usages from being exported | :white_check_mark: | |
@compiled/no-exported-keyframes | Disallows keyframes usages from being exported | :white_check_mark: | |
@compiled/no-keyframes-tagged-template-expression | Disallows the keyframes tagged template expression | :white_check_mark: | :wrench: |
@compiled/no-styled-tagged-template-expression | Disallows the styled tagged template expression | :white_check_mark: | :wrench: |
FAQs
A familiar and performant compile time CSS-in-JS library for React.
The npm package @compiled/eslint-plugin receives a total of 48 weekly downloads. As such, @compiled/eslint-plugin popularity was classified as not popular.
We found that @compiled/eslint-plugin 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
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.
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.