Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
slipx06 committed Jul 9, 2024
1 parent 08b2ec9 commit c307e7b
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 101 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
parser: '@typescript-eslint/parser', // Specifies the ESLint parser
plugins: [
"@typescript-eslint"
],
//extends: [
// 'prettier', // Uses eslint-config-prettier to disable ESLint rules from @typescript-eslint/eslint-plugin that would conflict with prettier
// 'plugin:prettier/recommended', // Enables eslint-plugin-prettier and displays prettier errors as ESLint errors. Make sure this is always the last configuration in the extends array.
Expand All @@ -10,6 +13,7 @@ module.exports = {
experimentalDecorators: true,
},
rules: {
"@typescript-eslint/camelcase": 0
"@typescript-eslint/camelcase": 0,
"@typescript-eslint/no-explicit-any": "off"
}
};
2 changes: 1 addition & 1 deletion dist/sunsynk-power-flow-card.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sunsynk-power-flow-card",
"version": "4.43.2",
"version": "4.43.3",
"description": "A customizable Home Assistant card to emulate the Sunsynk System flow that's displayed on the Inverter screen.",
"main": "sunsynk-power-flow-card.js",
"scripts": {
Expand Down
Loading

0 comments on commit c307e7b

Please sign in to comment.