@rebeccastevens/eslint-config 1.6.7 → 1.6.9
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 +16 -2
- package/dist/modern.mjs +16 -2
- package/package.json +1 -1
package/dist/modern.cjs
CHANGED
|
@@ -701,7 +701,12 @@ const settings$8 = {
|
|
|
701
701
|
},
|
|
702
702
|
},
|
|
703
703
|
rules: {
|
|
704
|
-
"functional/no-expression-statements":
|
|
704
|
+
"functional/no-expression-statements": [
|
|
705
|
+
"error",
|
|
706
|
+
{
|
|
707
|
+
ignorePattern: "^assert",
|
|
708
|
+
},
|
|
709
|
+
],
|
|
705
710
|
"functional/immutable-data": [
|
|
706
711
|
"error",
|
|
707
712
|
{
|
|
@@ -901,7 +906,7 @@ const settings$7 = {
|
|
|
901
906
|
},
|
|
902
907
|
settings: {
|
|
903
908
|
"import/external-module-folders": ["node_modules"],
|
|
904
|
-
"import/internal-regex": "^(?:@|~)
|
|
909
|
+
"import/internal-regex": "^(?:#|(?:@|~)\\/).*",
|
|
905
910
|
"import/resolver": {
|
|
906
911
|
node: {
|
|
907
912
|
extensions: jsExtensions,
|
|
@@ -1167,6 +1172,15 @@ const settings = {
|
|
|
1167
1172
|
},
|
|
1168
1173
|
},
|
|
1169
1174
|
],
|
|
1175
|
+
"unicorn/filename-case": [
|
|
1176
|
+
"error",
|
|
1177
|
+
{
|
|
1178
|
+
cases: {
|
|
1179
|
+
kebabCase: true,
|
|
1180
|
+
pascalCase: true,
|
|
1181
|
+
},
|
|
1182
|
+
},
|
|
1183
|
+
],
|
|
1170
1184
|
// "eslint-comments/no-unlimited-disable" covers this.
|
|
1171
1185
|
"unicorn/no-abusive-eslint-disable": "off",
|
|
1172
1186
|
"unicorn/no-array-callback-reference": "off",
|
package/dist/modern.mjs
CHANGED
|
@@ -699,7 +699,12 @@ const settings$8 = {
|
|
|
699
699
|
},
|
|
700
700
|
},
|
|
701
701
|
rules: {
|
|
702
|
-
"functional/no-expression-statements":
|
|
702
|
+
"functional/no-expression-statements": [
|
|
703
|
+
"error",
|
|
704
|
+
{
|
|
705
|
+
ignorePattern: "^assert",
|
|
706
|
+
},
|
|
707
|
+
],
|
|
703
708
|
"functional/immutable-data": [
|
|
704
709
|
"error",
|
|
705
710
|
{
|
|
@@ -899,7 +904,7 @@ const settings$7 = {
|
|
|
899
904
|
},
|
|
900
905
|
settings: {
|
|
901
906
|
"import/external-module-folders": ["node_modules"],
|
|
902
|
-
"import/internal-regex": "^(?:@|~)
|
|
907
|
+
"import/internal-regex": "^(?:#|(?:@|~)\\/).*",
|
|
903
908
|
"import/resolver": {
|
|
904
909
|
node: {
|
|
905
910
|
extensions: jsExtensions,
|
|
@@ -1165,6 +1170,15 @@ const settings = {
|
|
|
1165
1170
|
},
|
|
1166
1171
|
},
|
|
1167
1172
|
],
|
|
1173
|
+
"unicorn/filename-case": [
|
|
1174
|
+
"error",
|
|
1175
|
+
{
|
|
1176
|
+
cases: {
|
|
1177
|
+
kebabCase: true,
|
|
1178
|
+
pascalCase: true,
|
|
1179
|
+
},
|
|
1180
|
+
},
|
|
1181
|
+
],
|
|
1168
1182
|
// "eslint-comments/no-unlimited-disable" covers this.
|
|
1169
1183
|
"unicorn/no-abusive-eslint-disable": "off",
|
|
1170
1184
|
"unicorn/no-array-callback-reference": "off",
|