@omer-x/eslint-config 2.2.2 → 2.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/react.js CHANGED
@@ -22,6 +22,7 @@ export async function loadReactConfig() {
22
22
  rules: {
23
23
  "react/jsx-no-literals": ["error", {
24
24
  allowedStrings: [
25
+ " ",
25
26
  "©",
26
27
  "«",
27
28
  "»",
package/dist/stylistic.js CHANGED
@@ -46,7 +46,6 @@ export default [
46
46
  "@stylistic/jsx-max-props-per-line": ["error", { maximum: { multi: 1, single: Infinity } }],
47
47
  "@stylistic/jsx-newline": ["error", { allowMultilines: false, prevent: true }],
48
48
  "@stylistic/jsx-one-expression-per-line": ["error", { allow: "single-child" }],
49
- "@stylistic/jsx-props-no-multi-spaces": "error",
50
49
  "@stylistic/jsx-quotes": ["error", "prefer-double"],
51
50
  "@stylistic/jsx-self-closing-comp": ["error", { component: true, html: true }],
52
51
  "@stylistic/jsx-sort-props": "off",
@@ -65,7 +64,7 @@ export default [
65
64
  "@stylistic/linebreak-style": ["error", "unix"],
66
65
  "@stylistic/lines-around-comment": "off",
67
66
  "@stylistic/lines-between-class-members": ["error", "always", { exceptAfterSingleLine: true }],
68
- "@stylistic/max-len": ["warn", { code: 128 }],
67
+ "@stylistic/max-len": ["warn", { code: 128, ignorePattern: 'className\\s*=\\s*(?:"[^"]*"|\\{[^}]*\\})' }],
69
68
  "@stylistic/max-statements-per-line": ["error", { max: 1 }],
70
69
  "@stylistic/member-delimiter-style": ["error", {
71
70
  multiline: { delimiter: "comma", requireLast: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omer-x/eslint-config",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "description": "My favorite eslint rules",
5
5
  "keywords": [
6
6
  "eslint-config",