-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: install isml linter * chore: fix some js files * fix: adyen configs file * fix: whitespace
- Loading branch information
1 parent
a7012aa
commit 1f4f3a2
Showing
7 changed files
with
105 additions
and
32 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
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,47 @@ | ||
// Please check all available configurations and rules | ||
// at https://www.npmjs.com/package/isml-linter. | ||
|
||
const config = { | ||
rules: { | ||
// Line by line rules; | ||
// 'enforce-isprint' : {}, // Known issue, will be fixed on v6.0.0; | ||
'enforce-require': {}, | ||
'no-br': {}, | ||
'no-git-conflict': {}, | ||
'no-import-package': {}, | ||
'no-inline-style': {}, | ||
'no-isscript': {}, | ||
'no-space-only-lines': {}, | ||
'no-tabs': {}, | ||
'no-trailing-spaces': {}, | ||
'max-lines': {}, | ||
|
||
// Tree rules; | ||
indent: {}, | ||
'no-redundant-context': {}, | ||
'leading-iscontent': {}, | ||
'max-depth': {}, | ||
'no-embedded-isml': {}, | ||
'no-hardcode': {}, | ||
'no-require-in-loop': {}, | ||
'one-element-per-line': {}, | ||
'leading-iscache': {}, | ||
'no-deprecated-attrs': {}, | ||
'contextual-attrs': {}, | ||
'custom-tags': {}, | ||
'eslint-to-isscript': {}, | ||
'no-iselse-slash': {}, | ||
'empty-eof': {}, | ||
'align-isset': {}, | ||
'disallow-tags': { | ||
values: ['isscript', 'br', 'style', 'iframe'], | ||
}, | ||
'enforce-security': {}, | ||
'strict-void-elements': {}, | ||
|
||
// Other | ||
'lowercase-filename': {}, | ||
}, | ||
}; | ||
|
||
module.exports = 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
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