Skip to content

Commit a91dfb1

Browse files
committed
Chore: trivial fix
1 parent 38040a7 commit a91dfb1

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.eslintrc.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
"node/no-unpublished-import": "error",
3030
"vue/html-indent": ["error", 4],
3131
"vue/max-attributes-per-line": "off",
32-
3332
"require-noopener": "error"
3433
}
3534
}

eslint-rules/.eslintrc.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@
33
"extends": [
44
"mysticatea",
55
"mysticatea/node"
6-
],
7-
"rules": {
8-
"no-console": "off"
9-
}
6+
]
107
}

eslint-rules/require-noopener.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = (context) =>
2020
if (hasTargetBlank && !hasRelNoopener) {
2121
context.report({
2222
node: node.startTag,
23-
message: "Use 'rel=\"noopener\" to open new tab.",
23+
message: "Use 'rel=\"noopener\"' to open new tab.",
2424
* fix(fixer) {
2525
const lastAttribute = attributes[attributes.length - 1]
2626
yield fixer.insertTextAfter(lastAttribute, " rel=\"noopener\"")

0 commit comments

Comments
 (0)