isml-linter
Version:
ISML Linter is a tool for examining if your project's templates follow a specified set of rules defined by your dev team. The available rules can be roughly grouped into:
34 lines (29 loc) • 891 B
JavaScript
// Please check all available configurations and rules
// at https://www.npmjs.com/package/isml-linter.
const config = {
'rules': {
// Line by line rules;
'no-br' : {},
'no-git-conflict' : {},
'no-import-package' : {},
'no-inline-style' : {
level : 'warning'
},
'no-isscript' : {},
'no-space-only-lines' : {},
'no-tabs' : {},
'no-trailing-spaces' : {},
// Tree rules;
'indent' : {},
'no-redundant-context' : {},
'max-depth' : {
level : 'warning'
},
'no-hardcode' : {},
'no-require-in-loop' : {},
'one-element-per-line' : {
except: ['iscomment']
}
}
};
module.exports = config;