-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #580 from benderl/fix-formatting
Fix formatting
- Loading branch information
Showing
282 changed files
with
3,086 additions
and
9,225 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
public/modules/legacy_smart_home/** | ||
public/dataProtection-usageTerms.html |
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 +1,7 @@ | ||
{} | ||
{ | ||
"printWidth": 120, | ||
"singleQuote": false, | ||
"singleAttributePerLine": true, | ||
"trailingComma": "all", | ||
"arrowParens": "always" | ||
} |
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,16 +1,35 @@ | ||
import js from "@eslint/js" | ||
import pluginVue from "eslint-plugin-vue" | ||
import js from "@eslint/js"; | ||
import pluginVue from "eslint-plugin-vue"; | ||
import prettier from "eslint-plugin-prettier"; | ||
import prettierConfig from "eslint-config-prettier"; | ||
|
||
export default [ | ||
js.configs.recommended, | ||
...pluginVue.configs['flat/recommended'], | ||
...pluginVue.configs["flat/recommended"], | ||
{ | ||
ignores: ["public/modules/legacy_smart_home/"], | ||
ignores: ["public/modules/legacy_smart_home/", "public/dataProtection-usageTerms.html"], | ||
}, | ||
{ | ||
files: ["**/*.{vue,js,jsx,cjs,mjs}"], | ||
ignores: ["public/modules/legacy_smart_home/**", "public/dataProtection-usageTerms.html"], | ||
languageOptions: { | ||
ecmaVersion: "latest", | ||
}, | ||
} | ||
] | ||
plugins: { | ||
prettier, | ||
}, | ||
rules: { | ||
...prettierConfig.rules, | ||
"prettier/prettier": [ | ||
"error", | ||
{ | ||
printWidth: 120, | ||
singleQuote: false, | ||
singleAttributePerLine: true, | ||
trailingComma: "all", | ||
arrowParens: "always", | ||
}, | ||
], | ||
}, | ||
}, | ||
]; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.