@newsteam/eslint-config 0.0.196 → 0.0.198

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.
@@ -15,7 +15,6 @@ exports.typescriptOverrides = {
15
15
  "@stylistic/lines-between-class-members": "off",
16
16
  "@stylistic/no-extra-parens": "off",
17
17
  "@stylistic/no-extra-semi": "off",
18
- "@stylistic/object-curly-spacing": "off",
19
18
  "@stylistic/padding-line-between-statements": "off",
20
19
  "@stylistic/quotes": "off",
21
20
  "@stylistic/semi": "off",
@@ -45,7 +45,9 @@ declare const _default: {
45
45
  "@stylistic/jsx-first-prop-new-line": string;
46
46
  "@stylistic/jsx-indent": string;
47
47
  "@stylistic/jsx-indent-props": string;
48
- "@stylistic/jsx-max-props-per-line": string;
48
+ "@stylistic/jsx-max-props-per-line": (string | {
49
+ maximum: number;
50
+ })[];
49
51
  "@stylistic/jsx-newline": string;
50
52
  "@stylistic/jsx-one-expression-per-line": string;
51
53
  "@stylistic/jsx-props-no-multi-spaces": string;
@@ -235,7 +235,10 @@ module.exports = {
235
235
  *
236
236
  * https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-max-props-per-line.md
237
237
  */
238
- "@stylistic/jsx-max-props-per-line": "off",
238
+ "@stylistic/jsx-max-props-per-line": [
239
+ "error",
240
+ { maximum: 1 }
241
+ ],
239
242
  /*
240
243
  * Enforce a new line after jsx elements and expressions (fixable)
241
244
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newsteam/eslint-config",
3
- "version": "0.0.196",
3
+ "version": "0.0.198",
4
4
  "description": "Shared config for eslint",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "types": "./dist/cjs/index.d.ts",
@@ -9,8 +9,8 @@
9
9
  "clean": "rimraf dist",
10
10
  "clean:tests": "rimraf dist/**/*.test.js dist/**/*.test.d.ts dist/*.test.js dist/*.test.d.ts",
11
11
  "depcheck": "depcheck",
12
- "lint": "npm run lint:eslint && npm run depcheck",
13
- "lint:eslint": "cd ../.. && eslint packages/stylelint-config/src",
12
+ "lint": "npm run lint:eslint",
13
+ "lint:eslint": "cd ../.. && eslint packages/eslint-config/src --fix",
14
14
  "prepublishOnly": "npm run clean && npm run build && npm run lint && npm run test && npm run clean:tests",
15
15
  "test": "npm run test:ts && npm run depcheck && npm run test:rules",
16
16
  "test:ts": "tsc --noEmit",
@@ -54,13 +54,13 @@
54
54
  "eslint-plugin-you-dont-need-lodash-underscore": "6.13.0"
55
55
  },
56
56
  "devDependencies": {
57
- "@stylistic/eslint-plugin": "1.3.1",
57
+ "@stylistic/eslint-plugin": "1.4.0",
58
58
  "@types/eslint": "8.44.7",
59
59
  "@types/jasmine": "^5.1.2",
60
- "@types/node": "20.9.1",
60
+ "@types/node": "20.9.2",
61
61
  "@typescript-eslint/eslint-plugin": "6.11.0",
62
62
  "@typescript-eslint/parser": "6.11.0",
63
- "eslint": "8.53.0",
63
+ "eslint": "8.54.0",
64
64
  "eslint-find-rules": "4.1.0",
65
65
  "eslint-plugin-array-func": "4.0.0",
66
66
  "eslint-plugin-css-modules": "2.12.0",
@@ -91,10 +91,10 @@
91
91
  "typescript": "5.2.2"
92
92
  },
93
93
  "peerDependencies": {
94
- "@stylistic/eslint-plugin": "1.3.1",
94
+ "@stylistic/eslint-plugin": "1.4.0",
95
95
  "@typescript-eslint/eslint-plugin": "6.11.0",
96
96
  "@typescript-eslint/parser": "6.11.0",
97
- "eslint": "8.53.0",
97
+ "eslint": "8.54.0",
98
98
  "eslint-plugin-array-func": "4.0.0",
99
99
  "eslint-plugin-css-modules": "2.12.0",
100
100
  "eslint-plugin-es": "4.1.0",