Commit b50074fd authored by Florian Müllner's avatar Florian Müllner

lint: Restrict deprecated Lang API

Now that we moved to ES standard replacements, let's make sure they
don't creep back in accidentally.

!57
parent d5a10442
......@@ -35,6 +35,19 @@
"afterColon": true
}
],
"no-restricted-properties": [
"error",
{
"object": "Lang",
"property": "bind",
"message": "Please use arrow notation or Function.prototype.bind()."
},
{
"object": "Lang",
"property": "Class",
"message": "Please use ES6 classes."
}
],
"no-unused-vars": [
"error",
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment