summaryrefslogtreecommitdiffstats
path: root/fastify-busboy/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to 'fastify-busboy/.eslintrc.js')
-rw-r--r--fastify-busboy/.eslintrc.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/fastify-busboy/.eslintrc.js b/fastify-busboy/.eslintrc.js
new file mode 100644
index 0000000..4b904cd
--- /dev/null
+++ b/fastify-busboy/.eslintrc.js
@@ -0,0 +1,27 @@
+module.exports = {
+ ignorePatterns: [
+ 'bench',
+ 'deps/encoding'
+ ],
+ extends: [
+ 'standard',
+ 'eslint:recommended',
+ 'plugin:n/recommended'
+ ],
+ rules: {
+ 'no-unused-vars': [1, { vars: 'all', args: 'none' }],
+ 'n/no-missing-require': 1,
+ 'no-constant-condition': 'off',
+ 'no-var': 'off',
+ 'no-redeclare': 1,
+ 'no-fallthrough': 1,
+ 'no-control-regex': 1,
+ 'no-empty': 'off',
+ 'prefer-const': 'off'
+ },
+ env: {
+ node: true,
+ mocha: true,
+ es6: true
+ }
+}