Skip to content

Commit

Permalink
Merge pull request #847 from EvgenyOrekhov/846_ban_default_exports
Browse files Browse the repository at this point in the history
Do not recommend default exports
  • Loading branch information
EvgenyOrekhov authored Nov 20, 2023
2 parents 3e7fc7a + 608987b commit 0711c34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The most strict (yet practical) ESLint config.
Aims to include as many plugins and rules as possible to make your code
extremely consistent and robust.

**49 plugins. 1348 rules.**
**49 plugins. 1347 rules.**

## Usage

Expand Down Expand Up @@ -206,7 +206,7 @@ Base framework-agnostic config.
| [eslint-plugin-regexp](https://github.com/ota-meshi/eslint-plugin-regexp) | 79 |
| [eslint-plugin-putout](https://github.com/coderaiser/putout/tree/master/packages/eslint-plugin-putout) | 73 |
| [eslint-plugin-sonar](https://github.com/un-ts/eslint-plugin-sonar) | 49 |
| [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) | 34 |
| [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) | 33 |
| [eslint-plugin-sonarjs](https://github.com/SonarSource/eslint-plugin-sonarjs) | 31 |
| [HTML ESLint](https://github.com/yeonjuan/html-eslint) | 21 |
| [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) | 13 |
Expand All @@ -225,7 +225,7 @@ Base framework-agnostic config.
| [eslint-plugin-no-only-tests](https://github.com/levibuzolic/eslint-plugin-no-only-tests) | 1 |
| [eslint-plugin-json](https://github.com/azeemba/eslint-plugin-json)¹ | 1 |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier)² | 1 |
| **Total:** | **628** |
| **Total:** | **627** |

¹ eslint-plugin-json actually includes 19 rules, but I consider them as one
"no-invalid-json" rule.
Expand Down
1 change: 0 additions & 1 deletion base.json
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,6 @@
"import/first": "error",
"import/exports-last": "error",
"import/no-namespace": "error",
"import/prefer-default-export": "error",
"import/max-dependencies": "error",
"import/no-named-default": "error",
"import/no-commonjs": "error",
Expand Down
1 change: 1 addition & 0 deletions disabled-rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"import/no-unassigned-import": "off",
"import/group-exports": "off",
"import/consistent-type-specifier-style": "off",
"import/prefer-default-export": "off",

"unicorn/no-array-callback-reference": "off",
"unicorn/no-keyword-prefix": "off",
Expand Down

0 comments on commit 0711c34

Please sign in to comment.