Socket
Socket
Sign inDemoInstall

eslint-config-standard-jsx

Package Overview
Dependencies
Maintainers
2
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-standard-jsx - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0

38

eslintrc.json
{
"parserOptions": {
"ecmaVersion": 2018,
"ecmaVersion": 2019,
"ecmaFeatures": {

@@ -17,13 +17,43 @@ "jsx": true

"react/jsx-boolean-value": "error",
"react/jsx-curly-spacing": ["error", "never"],
"react/jsx-closing-bracket-location": ["error", "tag-aligned"],
"react/jsx-closing-tag-location": "error",
"react/jsx-curly-brace-presence": ["error", { "props": "never", "children": "never" }],
"react/jsx-curly-newline": ["error", { "multiline": "consistent", "singleline": "consistent" }],
"react/jsx-curly-spacing": ["error", {
"attributes": { "when": "never" },
"children": { "when": "never" },
"allowMultiline": true
}],
"react/jsx-equals-spacing": ["error", "never"],
"react/jsx-indent": ["error", 2],
"react/jsx-first-prop-new-line": ["error", "multiline-multiprop"],
"react/jsx-fragments": ["error", "syntax"],
"react/jsx-handler-names": "error",
"react/jsx-indent": ["error", 2, { "checkAttributes": true, "indentLogicalExpressions": true }],
"react/jsx-indent-props": ["error", 2],
"react/jsx-key": "error",
"react/jsx-no-comment-textnodes": "error",
"react/jsx-no-duplicate-props": "error",
"react/jsx-no-target-blank": ["error", { "enforceDynamicLinks": "always" }],
"react/jsx-no-undef": "error",
"react/jsx-tag-spacing": ["error", { "beforeSelfClosing": "always" }],
"react/jsx-pascal-case": ["error", { "allowAllCaps": false }],
"react/jsx-props-no-multi-spaces": "error",
"react/jsx-tag-spacing": ["error", {
"closingSlash": "never",
"beforeSelfClosing": "always",
"afterOpening": "never",
"beforeClosing": "never"
}],
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"react/jsx-wrap-multilines": ["error", {
"declaration": "parens-new-line",
"assignment": "parens-new-line",
"return": "parens-new-line",
"arrow": "parens-new-line",
"condition": "parens-new-line",
"logical": "ignore",
"prop": "ignore"
}],
"react/self-closing-comp": "error"
}
}

2

package.json
{
"name": "eslint-config-standard-jsx",
"description": "JavaScript Standard Style JSX support - ESLint Shareable Config",
"version": "7.0.0",
"version": "8.0.0",
"author": {

@@ -6,0 +6,0 @@ "name": "Feross Aboukhadijeh",

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