eslint-config-standard-jsx
Advanced tools
Comparing version 7.0.0 to 8.0.0
{ | ||
"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" | ||
} | ||
} |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8189
57