Skip to content

Commit

Permalink
feat: Update config rules
Browse files Browse the repository at this point in the history
  • Loading branch information
GZolla committed Oct 28, 2024
1 parent c6cb302 commit 8433dd4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = {
"no-multiple-empty-lines": [2, {"max": 1}], // nr
"no-multi-spaces": 2, // nr
"no-new-wrappers": 2, // nr
"no-restricted-syntax": [0, "CatchClause[param=null]"],
"no-trailing-spaces": 2, // nr
"no-undef": 2,
"no-unneeded-ternary": 2, // nr
Expand Down
7 changes: 6 additions & 1 deletion lit-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,15 @@ module.exports = {
"sort-class-members"
],
"overrides": [{
"files": "./**/lang/*.js",
"files": "./**/lang/*.js",
"rules": {
"quotes": 0
}
},{
"files": "./**/demo/*.html",
"rules": {
"no-console": 0
}
}],
"rules": {
"lit/attribute-value-entities": 2,
Expand Down
3 changes: 3 additions & 0 deletions node-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,7 @@ module.exports = {
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-console":0
}
};

0 comments on commit 8433dd4

Please sign in to comment.