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

eslint-plugin-emotion

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-emotion - npm Package Compare versions

Comparing version 10.0.0-beta.0 to 10.0.0-beta.1

2

package.json
{
"name": "eslint-plugin-emotion",
"version": "10.0.0-beta.0",
"version": "10.0.0-beta.1",
"description": "ESLint rules for emotion",

@@ -5,0 +5,0 @@ "keywords": [

@@ -51,3 +51,3 @@ # eslint-plugin-emotion

"emotion/import-from-emotion": "error",
"emotion/styled-import": "error
"emotion/styled-import": "error"
}

@@ -59,10 +59,10 @@ }

>
> These rules assume you are using React, if you are not using React, you should keeping only using the `emotion` package.
> These rules assume you are using React, if you are not using React, you should keep using the `emotion` package.
## Supported Rules
- [jsx-import](./docs/rules/jsx-import.md)
- [styled-import](./docs/rules/styled-import.md)
- [import-from-emotion](./docs/rules/import-from-emotion.md)
- [no-vanilla](./docs/rules/no-vanilla.md)
- [syntax-preference](./docs/rules/syntax-preference.md)
- [jsx-import](https://github.com/emotion-js/emotion/blob/master/packages/eslint-plugin-emotion/docs/rules/jsx-import.md)
- [styled-import](https://github.com/emotion-js/emotion/blob/master/packages/eslint-plugin-emotion/docs/rules/styled-import.md)
- [import-from-emotion](https://github.com/emotion-js/emotion/blob/master/packages/eslint-plugin-emotion/docs/rules/import-from-emotion.md)
- [no-vanilla](https://github.com/emotion-js/emotion/blob/master/packages/eslint-plugin-emotion/docs/rules/no-vanilla.md)
- [syntax-preference](https://github.com/emotion-js/emotion/blob/master/packages/eslint-plugin-emotion/docs/rules/syntax-preference.md)

@@ -0,1 +1,3 @@

// @flow
exports.rules = {

@@ -5,4 +7,4 @@ 'import-from-emotion': require('./rules/import-from-emotion'),

'syntax-preference': require('./rules/syntax-preference'),
styled: require('./rules/styled'),
jsx: require('./rules/jsx')
'styled-import': require('./rules/styled-import'),
'jsx-import': require('./rules/jsx-import')
}

@@ -6,3 +6,3 @@ /**

const { RuleTester } = require('eslint')
const rule = require('../../src/rules/import-from-emotion')
const rule = require('eslint-plugin-emotion').rules['import-from-emotion']

@@ -9,0 +9,0 @@ RuleTester.setDefaultConfig({

@@ -6,3 +6,3 @@ /**

const { RuleTester } = require('eslint')
const rule = require('../../src/rules/jsx-import')
const rule = require('eslint-plugin-emotion').rules['jsx-import']

@@ -9,0 +9,0 @@ RuleTester.setDefaultConfig({

@@ -6,3 +6,3 @@ /**

const { RuleTester } = require('eslint')
const rule = require('../../src/rules/no-vanilla')
const rule = require('eslint-plugin-emotion').rules['no-vanilla']

@@ -9,0 +9,0 @@ RuleTester.setDefaultConfig({

@@ -6,3 +6,3 @@ /**

const { RuleTester } = require('eslint')
const rule = require('../../src/rules/styled-import')
const rule = require('eslint-plugin-emotion').rules['styled-import']

@@ -9,0 +9,0 @@ RuleTester.setDefaultConfig({

@@ -12,3 +12,3 @@ /**

const { RuleTester } = require('eslint')
const rule = require('../../src/rules/syntax-preference')
const rule = require('eslint-plugin-emotion').rules['syntax-preference']

@@ -15,0 +15,0 @@ RuleTester.setDefaultConfig({

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