-
-
Notifications
You must be signed in to change notification settings - Fork 255
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: migrate to exports field (#306)
- Loading branch information
Showing
7 changed files
with
34 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"eslint-config-prettier": minor | ||
--- | ||
|
||
feat: migrate to exports field |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,3 @@ jobs: | |
|
||
- name: Prettier | ||
run: yarn prettier --check . | ||
|
||
- name: Build | ||
run: yarn build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const rules: Record<string, 0>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
"use strict"; | ||
|
||
module.exports = { | ||
rules: { | ||
// These are safe to use as long as the `"prettier/prettier"` rule from | ||
// eslint-plugin-prettier isn’t enabled. | ||
// These are also included in `"plugin:prettier/recommended"`: | ||
// https://github.com/prettier/eslint-plugin-prettier#recommended-configuration | ||
"arrow-body-style": 0, | ||
"prefer-arrow-callback": 0, | ||
}, | ||
exports.rules = { | ||
// These are safe to use as long as the `"prettier/prettier"` rule from | ||
// eslint-plugin-prettier isn’t enabled. | ||
// These are also included in `"plugin:prettier/recommended"`: | ||
// https://github.com/prettier/eslint-plugin-prettier#recommended-configuration | ||
"arrow-body-style": 0, | ||
"prefer-arrow-callback": 0, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters