Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@compiled/eslint-plugin

Package Overview
Dependencies
Maintainers
4
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@compiled/eslint-plugin - npm Package Compare versions

Comparing version 0.4.8 to 0.5.0

dist/rules/no-css-prop-without-css-function/index.d.ts

1

dist/configs/recommended.d.ts

@@ -9,3 +9,4 @@ export declare const recommended: {

'@compiled/no-styled-tagged-template-expression': string;
'@compiled/no-css-prop-without-css-function': string;
};
};

@@ -12,4 +12,5 @@ "use strict";

'@compiled/no-styled-tagged-template-expression': 'error',
'@compiled/no-css-prop-without-css-function': 'error',
},
};
//# sourceMappingURL=recommended.js.map

@@ -9,2 +9,3 @@ export declare const rules: {

'no-styled-tagged-template-expression': import("eslint").Rule.RuleModule;
'no-css-prop-without-css-function': import("eslint").Rule.RuleModule;
};

@@ -20,4 +21,5 @@ export declare const configs: {

'@compiled/no-styled-tagged-template-expression': string;
'@compiled/no-css-prop-without-css-function': string;
};
};
};

@@ -6,2 +6,3 @@ "use strict";

const jsx_pragma_1 = require("./rules/jsx-pragma");
const no_css_prop_without_css_function_1 = require("./rules/no-css-prop-without-css-function");
const no_css_tagged_template_expression_1 = require("./rules/no-css-tagged-template-expression");

@@ -21,2 +22,3 @@ const no_emotion_css_1 = require("./rules/no-emotion-css");

'no-styled-tagged-template-expression': no_styled_tagged_template_expression_1.noStyledTaggedTemplateExpressionRule,
'no-css-prop-without-css-function': no_css_prop_without_css_function_1.noCssPropWithoutCssFunctionRule,
};

@@ -23,0 +25,0 @@ exports.configs = {

10

package.json
{
"name": "@compiled/eslint-plugin",
"version": "0.4.8",
"version": "0.5.0",
"description": "A familiar and performant compile time CSS-in-JS library for React.",

@@ -25,5 +25,7 @@ "homepage": "https://compiledcssinjs.com/docs/pkg-eslint-plugin",

"@types/estree": "^1.0.0",
"@typescript-eslint/parser": "^5.48.2",
"eslint": "^8.32.0",
"typescript": "^4.9.4"
"@types/estree-jsx": "^1.0.0",
"@typescript-eslint/parser": "^5.50.0",
"eslint": "^8.33.0",
"outdent": "^0.8.0",
"typescript": "^4.9.5"
},

@@ -30,0 +32,0 @@ "publishConfig": {

@@ -46,1 +46,2 @@ # @compiled/eslint-plugin

| [@compiled/no-styled-tagged-template-expression](./src/rules/no-styled-tagged-template-expression) | Disallows the `styled` tagged template expression | :white_check_mark: | :wrench: |
| [@compiled/no-css-prop-without-css-function](./src/rules/no-css-prop-without-css-function) | Disallows css prop without the css function | :white_check_mark: | :wrench: |

@@ -9,3 +9,4 @@ export const recommended = {

'@compiled/no-styled-tagged-template-expression': 'error',
'@compiled/no-css-prop-without-css-function': 'error',
},
};
import { recommended } from './configs/recommended';
import { jsxPragmaRule } from './rules/jsx-pragma';
import { noCssPropWithoutCssFunctionRule } from './rules/no-css-prop-without-css-function';
import { noCssTaggedTemplateExpressionRule } from './rules/no-css-tagged-template-expression';

@@ -18,2 +19,3 @@ import { noEmotionCssRule } from './rules/no-emotion-css';

'no-styled-tagged-template-expression': noStyledTaggedTemplateExpressionRule,
'no-css-prop-without-css-function': noCssPropWithoutCssFunctionRule,
};

@@ -20,0 +22,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc