eslint-config-isaacscript 3.5.0 → 3.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/base.js +1 -1
- package/mod.js +12 -0
- package/package.json +1 -1
package/base.js
CHANGED
package/mod.js
CHANGED
|
@@ -152,6 +152,18 @@ module.exports = {
|
|
|
152
152
|
*/
|
|
153
153
|
"n/file-extension-in-import": "off",
|
|
154
154
|
|
|
155
|
+
/**
|
|
156
|
+
* Documentation:
|
|
157
|
+
* https://eslint.org/docs/latest/rules/class-methods-use-this
|
|
158
|
+
*
|
|
159
|
+
* Defined at:
|
|
160
|
+
* https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb-base/rules/best-practices.js
|
|
161
|
+
*
|
|
162
|
+
* It is conventional in IsaacScript mods to put the "v" object outside of the class, which
|
|
163
|
+
* makes it likely that some methods will not use any internal class variables.
|
|
164
|
+
*/
|
|
165
|
+
"class-methods-use-this": "off",
|
|
166
|
+
|
|
155
167
|
/**
|
|
156
168
|
* Documentation:
|
|
157
169
|
* https://eslint.org/docs/latest/rules/no-bitwise
|