Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@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: |
@compiled/no-css-prop-without-css-function | Disallows css prop without the css function | :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 106 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.