@rotki/eslint-config 2.0.0 → 2.1.0

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/index.cjs CHANGED
@@ -1322,7 +1322,7 @@ async function test(options = {}) {
1322
1322
  files,
1323
1323
  rules: {
1324
1324
  "node/prefer-global/process": "off",
1325
- "test/consistent-test-it": ["error", { fn: "test", withinDescribe: "test" }],
1325
+ "test/consistent-test-it": ["error", { fn: "it", withinDescribe: "it" }],
1326
1326
  "test/no-identical-title": "error",
1327
1327
  "test/no-import-node-test": "error",
1328
1328
  "test/no-only-tests": isInEditor ? "off" : "error",
@@ -1621,6 +1621,10 @@ async function vue(options = {}) {
1621
1621
  // migration
1622
1622
  "vue/component-api-style": ["error", ["script-setup"]],
1623
1623
  "vue/define-props-declaration": ["error", "type-based"],
1624
+ "vue/first-attribute-linebreak": ["error", {
1625
+ multiline: "below",
1626
+ singleline: "ignore"
1627
+ }],
1624
1628
  "vue/html-self-closing": [
1625
1629
  "error",
1626
1630
  {
package/dist/index.js CHANGED
@@ -1229,7 +1229,7 @@ async function test(options = {}) {
1229
1229
  files,
1230
1230
  rules: {
1231
1231
  "node/prefer-global/process": "off",
1232
- "test/consistent-test-it": ["error", { fn: "test", withinDescribe: "test" }],
1232
+ "test/consistent-test-it": ["error", { fn: "it", withinDescribe: "it" }],
1233
1233
  "test/no-identical-title": "error",
1234
1234
  "test/no-import-node-test": "error",
1235
1235
  "test/no-only-tests": isInEditor ? "off" : "error",
@@ -1528,6 +1528,10 @@ async function vue(options = {}) {
1528
1528
  // migration
1529
1529
  "vue/component-api-style": ["error", ["script-setup"]],
1530
1530
  "vue/define-props-declaration": ["error", "type-based"],
1531
+ "vue/first-attribute-linebreak": ["error", {
1532
+ multiline: "below",
1533
+ singleline: "ignore"
1534
+ }],
1531
1535
  "vue/html-self-closing": [
1532
1536
  "error",
1533
1537
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rotki/eslint-config",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "packageManager": "pnpm@8.14.1",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0",