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.
Files changed (3) hide show
  1. package/base.js +1 -1
  2. package/mod.js +12 -0
  3. package/package.json +1 -1
package/base.js CHANGED
@@ -175,7 +175,7 @@ module.exports = {
175
175
  *
176
176
  * It is a useful rule and it is turned off in the parent configs with no explanation.
177
177
  */
178
- "import/no-deprecated": "off",
178
+ "import/no-deprecated": "error",
179
179
 
180
180
  /**
181
181
  * Documentation:
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-isaacscript",
3
- "version": "3.5.0",
3
+ "version": "3.5.2",
4
4
  "description": "A sharable ESLint config for TypeScript and IsaacScript projects.",
5
5
  "keywords": [
6
6
  "eslint",