@rebeccastevens/eslint-config 1.6.0 → 1.6.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/dist/modern.cjs CHANGED
@@ -850,7 +850,8 @@ const settings$7 = {
850
850
  ],
851
851
  "import/no-mutable-exports": "error",
852
852
  "import/no-named-as-default": "off",
853
- "import/no-named-as-default-member": "error",
853
+ // using unicorn/import-style for per package control
854
+ "import/no-named-as-default-member": "off",
854
855
  "import/no-named-default": "error",
855
856
  "import/no-named-export": "off",
856
857
  "import/no-namespace": "off",
@@ -1152,7 +1153,17 @@ const settings = {
1152
1153
  plugins: ["unicorn"],
1153
1154
  extends: ["plugin:unicorn/recommended"],
1154
1155
  rules: {
1155
- "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
+ ],
1156
1167
  // "eslint-comments/no-unlimited-disable" covers this.
1157
1168
  "unicorn/no-abusive-eslint-disable": "off",
1158
1169
  "unicorn/no-array-callback-reference": "off",
package/dist/modern.mjs CHANGED
@@ -848,7 +848,8 @@ const settings$7 = {
848
848
  ],
849
849
  "import/no-mutable-exports": "error",
850
850
  "import/no-named-as-default": "off",
851
- "import/no-named-as-default-member": "error",
851
+ // using unicorn/import-style for per package control
852
+ "import/no-named-as-default-member": "off",
852
853
  "import/no-named-default": "error",
853
854
  "import/no-named-export": "off",
854
855
  "import/no-namespace": "off",
@@ -1150,7 +1151,17 @@ const settings = {
1150
1151
  plugins: ["unicorn"],
1151
1152
  extends: ["plugin:unicorn/recommended"],
1152
1153
  rules: {
1153
- "unicorn/import-style": "off",
1154
+ "unicorn/import-style": [
1155
+ "error",
1156
+ {
1157
+ extendDefaultStyles: false,
1158
+ styles: {
1159
+ typescript: {
1160
+ default: true,
1161
+ },
1162
+ },
1163
+ },
1164
+ ],
1154
1165
  // "eslint-comments/no-unlimited-disable" covers this.
1155
1166
  "unicorn/no-abusive-eslint-disable": "off",
1156
1167
  "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.1",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"