forked from sweetalert2/sweetalert2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use prettier for auto-formatting (sweetalert2#2385)
- Loading branch information
Limon Monte
authored
Jan 23, 2022
1 parent
e8ec23f
commit b7320c5
Showing
88 changed files
with
1,105 additions
and
951 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
module.exports = { | ||
extends: [ | ||
'@sweetalert2/eslint-config', | ||
'plugin:no-unsanitized/DOM' | ||
], | ||
extends: ['@sweetalert2/eslint-config', 'plugin:no-unsanitized/DOM'], | ||
plugins: ['import'], | ||
rules: { | ||
'import/extensions': ['error', 'always'], | ||
'@typescript-eslint/ban-ts-comment': 0, | ||
} | ||
'@typescript-eslint/no-empty-interface': 0, | ||
'@typescript-eslint/no-explicit-any': 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
...require('@sweetalert2/prettier-config'), | ||
} |
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,13 +1,11 @@ | ||
module.exports = { | ||
plugins: [ | ||
'cypress' | ||
], | ||
plugins: ['cypress'], | ||
env: { | ||
'cypress/globals': true | ||
'cypress/globals': true, | ||
}, | ||
rules: { | ||
'no-unsanitized/property': 0, | ||
'no-unused-expressions': 0, | ||
'import/extensions': 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
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
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
Oops, something went wrong.