@wildpastry/eslint-config 1.5.8 → 1.6.0
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/.eslintrc +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/.eslintrc
CHANGED
|
@@ -303,7 +303,7 @@
|
|
|
303
303
|
"no-spaced-func": 1, // disallow space between function identifier and application // DONE
|
|
304
304
|
"keyword-spacing": [1, { "before": true }], // enforce consistent spacing before and after keywords // DONE - CUSTOMISED
|
|
305
305
|
"array-bracket-spacing": [0, "always"], // enforces consistent spacing inside array brackets // DONE - CUSTOMISED
|
|
306
|
-
"@typescript-eslint/no-unused-vars": [
|
|
306
|
+
"@typescript-eslint/no-unused-vars": [1, { "argsIgnorePattern": "^_" }], // DONE - CUSTOMISED
|
|
307
307
|
|
|
308
308
|
// React specific
|
|
309
309
|
"react/display-name": 0, // prevent missing displayName in a React component definition // DONE - OFF
|
package/index.js
CHANGED
|
@@ -288,7 +288,7 @@ module.exports = {
|
|
|
288
288
|
"no-spaced-func": 1, // disallow space between function identifier and application // DONE
|
|
289
289
|
"keyword-spacing": [1, { "before": true }], // enforce consistent spacing before and after keywords // DONE - CUSTOMISED
|
|
290
290
|
"array-bracket-spacing": [0, "always"], // enforces consistent spacing inside array brackets // DONE - CUSTOMISED
|
|
291
|
-
"@typescript-eslint/no-unused-vars": [
|
|
291
|
+
"@typescript-eslint/no-unused-vars": [1, { "argsIgnorePattern": "^_" }], // DONE - CUSTOMISED
|
|
292
292
|
|
|
293
293
|
// React specific
|
|
294
294
|
"react/display-name": 0, // prevent missing displayName in a React component definition // DONE - OFF
|