Skip to content

Commit

Permalink
Change the base config's import/order rule so the unknown import …
Browse files Browse the repository at this point in the history
…type now fills the last import group slot (#14)
  • Loading branch information
mangs authored Jan 12, 2024
1 parent 58d8dff commit 4068ef0
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 33 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.2.1

- Change the base config's `import/order` rule so the `unknown` import type now fills the last import group slot

## 1.2.0

- Testing added using example code for each configuration to verify correctness during continuous integration
Expand Down
5 changes: 3 additions & 2 deletions lib/eslintBaseConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@
{
"groups": [
["builtin", "external"],
["internal", "unknown", "parent", "sibling", "index"],
["index", "internal", "parent", "sibling"],
["type"],
["object"]
["object"],
["unknown"]
],
"newlines-between": "always"
}
Expand Down
63 changes: 33 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@babbel/eslint-config",
"version": "1.2.0",
"version": "1.2.1",
"author": "Eric L. Goldstein <[email protected]>",
"description": "Hierarchical ESLint configuration collection that intends to be simple to use, layered, and shared with others",
"keywords": [
Expand Down

0 comments on commit 4068ef0

Please sign in to comment.