projects
/
dotfiles
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update .bashrc
[dotfiles/.git]
/
.config
/
coc
/
extensions
/
node_modules
/
coc-prettier
/
node_modules
/
eslint
/
lib
/
rules
/
no-this-before-super.js
diff --git
a/.config/coc/extensions/node_modules/coc-prettier/node_modules/eslint/lib/rules/no-this-before-super.js
b/.config/coc/extensions/node_modules/coc-prettier/node_modules/eslint/lib/rules/no-this-before-super.js
index 6975ea060bf00dfa29f61482cb0c296340a1797a..5bfba66fc65c32ced16069fadda06224dfd1f862 100644
(file)
--- a/
.config/coc/extensions/node_modules/coc-prettier/node_modules/eslint/lib/rules/no-this-before-super.js
+++ b/
.config/coc/extensions/node_modules/coc-prettier/node_modules/eslint/lib/rules/no-this-before-super.js
@@
-45,7
+45,11
@@
module.exports = {
url: "https://eslint.org/docs/rules/no-this-before-super"
},
url: "https://eslint.org/docs/rules/no-this-before-super"
},
- schema: []
+ schema: [],
+
+ messages: {
+ noBeforeSuper: "'{{kind}}' is not allowed before 'super()'."
+ }
},
create(context) {
},
create(context) {
@@
-167,7
+171,7
@@
module.exports = {
/**
* Removes the top of stack item.
*
/**
* Removes the top of stack item.
*
- * And this tr
e
verses all segments of this code path then reports every
+ * And this tr
a
verses all segments of this code path then reports every
* invalid node.
* @param {CodePath} codePath A code path which was ended.
* @returns {void}
* invalid node.
* @param {CodePath} codePath A code path which was ended.
* @returns {void}
@@
-187,7
+191,7
@@
module.exports = {
const invalidNode = info.invalidNodes[i];
context.report({
const invalidNode = info.invalidNodes[i];
context.report({
- message
: "'{{kind}}' is not allowed before 'super()'.
",
+ message
Id: "noBeforeSuper
",
node: invalidNode,
data: {
kind: invalidNode.type === "Super" ? "super" : "this"
node: invalidNode,
data: {
kind: invalidNode.type === "Super" ? "super" : "this"