Skip to content
This repository was archived by the owner on Mar 26, 2023. It is now read-only.

Commit 9ed766b

Browse files
author
Artem Netsvetaev
committed
update formatting
1 parent 8b473f0 commit 9ed766b

4 files changed

Lines changed: 15 additions & 4 deletions

File tree

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@
2323
}
2424
],
2525
"object-shorthand": "warn",
26+
"vue/html-self-closing": [
27+
"warn",
28+
{
29+
"html": {
30+
"void": "always",
31+
"normal": "always",
32+
"component": "always"
33+
},
34+
"svg": "always",
35+
"math": "always"
36+
}
37+
],
2638
"no-debugger": "error"
2739
}
2840
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "@profcomff/root-config",
33
"scripts": {
44
"start": "webpack serve --port 9000 --env local",
5-
"lint": "eslint --ext vue, js .",
6-
"lint:fix": "eslint --ext vue, js --fix .",
5+
"lint": "eslint --ext .vue,.js,.ts .",
6+
"lint:fix": "eslint --ext .vue,.js,.ts --fix .",
77
"format": "prettier --check .",
88
"format:write": "prettier --write .",
99
"test": "cross-env BABEL_ENV=test jest --passWithNoTests",

src/profcomff-root-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function clear_cache() {
3030
clear_cache();
3131

3232
if (!isLocalhost())
33-
register('/service-worker.js', {
33+
register('/service-worker.js', {
3434
registrationOptions: { scope: './' },
3535
ready(registration) {
3636
console.log('Service worker is active:' + registration);

0 commit comments

Comments
 (0)