@singlepixellab/eslint-config 2.0.0 → 2.0.1

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/eslint.config.js CHANGED
@@ -11,9 +11,6 @@ export default [
11
11
  // Global ignores should always be first
12
12
  ...ignores,
13
13
 
14
- // styles: @stylistic/eslint-plugin
15
- ...styles,
16
-
17
14
  // eslint-plugin-import
18
15
  ...imports,
19
16
 
@@ -25,6 +22,9 @@ export default [
25
22
 
26
23
  ...core,
27
24
 
25
+ // styles: @stylistic/eslint-plugin
26
+ ...styles,
27
+
28
28
  // Prettier should be last to have the opportunity to override other configs
29
29
  ...prettier,
30
30
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@singlepixellab/eslint-config",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "The ESLint rules and configs used by Single Pixel Lab",
5
5
  "author": "Single Pixel Lab",
6
6
  "keywords": [
package/rules/react.js CHANGED
@@ -53,19 +53,16 @@ export default [
53
53
  "react/jsx-boolean-value": ["error", "never", { always: [] }],
54
54
 
55
55
  // Validate closing bracket location in JSX
56
- "react/jsx-closing-bracket-location": ["error", "tag-aligned"],
56
+ "react/jsx-closing-bracket-location": "off",
57
57
 
58
58
  // Validate closing tag location in JSX
59
- "react/jsx-closing-tag-location": "error",
59
+ "react/jsx-closing-tag-location": "off",
60
60
 
61
61
  // Enforce or disallow spaces inside of curly braces in JSX attributes
62
- "react/jsx-curly-spacing": [
63
- "error",
64
- { when: "never", allowMultiline: true },
65
- ],
62
+ "react/jsx-curly-spacing": "off",
66
63
 
67
64
  // Enforce or disallow spaces around equal sign
68
- "react/jsx-equals-spacing": ["warn", "never"],
65
+ "react/jsx-equals-spacing": "off",
69
66
 
70
67
  // No jsx extension
71
68
  // https://github.com/facebook/create-react-app/issues/87#issuecomment-234627904
@@ -78,13 +75,10 @@ export default [
78
75
  "react/jsx-handler-names": "off",
79
76
 
80
77
  // Validate props indentation in JSX
81
- "react/jsx-indent-props": ["error", 2],
78
+ "react/jsx-indent-props": "off",
82
79
 
83
80
  // Limit maximum of props on a single line in JSX
84
- "react/jsx-max-props-per-line": [
85
- "error",
86
- { maximum: 1, when: "multiline" },
87
- ],
81
+ "react/jsx-max-props-per-line": "off",
88
82
 
89
83
  // Prevent usage of .bind() in JSX props
90
84
  "react/jsx-no-bind": [