@rebeccastevens/eslint-config 1.6.0 → 1.6.2

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/modern.cjs CHANGED
@@ -800,12 +800,14 @@ const settings$7 = {
800
800
  },
801
801
  ],
802
802
  "import/no-commonjs": "off",
803
- "import/no-cycle": [
804
- "error",
805
- {
806
- ignoreExternal: true,
807
- },
808
- ],
803
+ // Should be safe when bundling.
804
+ "import/no-cycle": "off",
805
+ // "import/no-cycle": [
806
+ // "error",
807
+ // {
808
+ // ignoreExternal: true,
809
+ // },
810
+ // ],
809
811
  "import/no-default-export": "off",
810
812
  "import/no-deprecated": "warn",
811
813
  "import/no-duplicates": "error",
@@ -850,7 +852,8 @@ const settings$7 = {
850
852
  ],
851
853
  "import/no-mutable-exports": "error",
852
854
  "import/no-named-as-default": "off",
853
- "import/no-named-as-default-member": "error",
855
+ // using unicorn/import-style for per package control
856
+ "import/no-named-as-default-member": "off",
854
857
  "import/no-named-default": "error",
855
858
  "import/no-named-export": "off",
856
859
  "import/no-namespace": "off",
@@ -1152,7 +1155,17 @@ const settings = {
1152
1155
  plugins: ["unicorn"],
1153
1156
  extends: ["plugin:unicorn/recommended"],
1154
1157
  rules: {
1155
- "unicorn/import-style": "off",
1158
+ "unicorn/import-style": [
1159
+ "error",
1160
+ {
1161
+ extendDefaultStyles: false,
1162
+ styles: {
1163
+ typescript: {
1164
+ default: true,
1165
+ },
1166
+ },
1167
+ },
1168
+ ],
1156
1169
  // "eslint-comments/no-unlimited-disable" covers this.
1157
1170
  "unicorn/no-abusive-eslint-disable": "off",
1158
1171
  "unicorn/no-array-callback-reference": "off",
package/dist/modern.mjs CHANGED
@@ -798,12 +798,14 @@ const settings$7 = {
798
798
  },
799
799
  ],
800
800
  "import/no-commonjs": "off",
801
- "import/no-cycle": [
802
- "error",
803
- {
804
- ignoreExternal: true,
805
- },
806
- ],
801
+ // Should be safe when bundling.
802
+ "import/no-cycle": "off",
803
+ // "import/no-cycle": [
804
+ // "error",
805
+ // {
806
+ // ignoreExternal: true,
807
+ // },
808
+ // ],
807
809
  "import/no-default-export": "off",
808
810
  "import/no-deprecated": "warn",
809
811
  "import/no-duplicates": "error",
@@ -848,7 +850,8 @@ const settings$7 = {
848
850
  ],
849
851
  "import/no-mutable-exports": "error",
850
852
  "import/no-named-as-default": "off",
851
- "import/no-named-as-default-member": "error",
853
+ // using unicorn/import-style for per package control
854
+ "import/no-named-as-default-member": "off",
852
855
  "import/no-named-default": "error",
853
856
  "import/no-named-export": "off",
854
857
  "import/no-namespace": "off",
@@ -1150,7 +1153,17 @@ const settings = {
1150
1153
  plugins: ["unicorn"],
1151
1154
  extends: ["plugin:unicorn/recommended"],
1152
1155
  rules: {
1153
- "unicorn/import-style": "off",
1156
+ "unicorn/import-style": [
1157
+ "error",
1158
+ {
1159
+ extendDefaultStyles: false,
1160
+ styles: {
1161
+ typescript: {
1162
+ default: true,
1163
+ },
1164
+ },
1165
+ },
1166
+ ],
1154
1167
  // "eslint-comments/no-unlimited-disable" covers this.
1155
1168
  "unicorn/no-abusive-eslint-disable": "off",
1156
1169
  "unicorn/no-array-callback-reference": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebeccastevens/eslint-config",
3
- "version": "1.6.0",
3
+ "version": "1.6.2",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"