From b7ca648615470f1bf363cf4cb6989518be9c52ca Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Mon, 16 Dec 2024 18:25:52 +0000 Subject: [PATCH] build(deps-dev): bump neostandard from 0.11.1 to 0.12.0 --- README.md | 2 +- eslint.config.js | 22 ++++------------------ package.json | 3 +-- 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index be5748c0..88e0c760 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![CI](https://github.com/fastify/fastify-multipart/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/fastify/fastify-multipart/actions/workflows/ci.yml) [![NPM version](https://img.shields.io/npm/v/@fastify/multipart.svg?style=flat)](https://www.npmjs.com/package/@fastify/multipart) -[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/) +[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-brightgreen?style=flat)](https://github.com/neostandard/neostandard) Fastify plugin to parse the multipart content-type. Supports: diff --git a/eslint.config.js b/eslint.config.js index 3bb176c7..89fd678f 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,20 +1,6 @@ 'use strict' -const neo = require('neostandard') - -module.exports = [ - ...neo({ - ts: true - }), - { - rules: { - '@stylistic/comma-dangle': ['error', { - arrays: 'never', - objects: 'never', - imports: 'never', - exports: 'never', - functions: 'never' - }] - } - } -] +module.exports = require('neostandard')({ + ignores: require('neostandard').resolveIgnoresFromGitignore(), + ts: true +}) diff --git a/package.json b/package.json index a42462d3..121259ce 100644 --- a/package.json +++ b/package.json @@ -20,11 +20,10 @@ "benchmark": "^2.1.4", "climem": "^2.0.0", "concat-stream": "^2.0.0", - "eslint": "^9.8.0", "fastify": "^5.0.0", "form-data": "^4.0.0", "h2url": "^0.2.0", - "neostandard": "^0.11.1", + "neostandard": "^0.12.0", "noop-stream": "^0.1.0", "pump": "^3.0.0", "readable-stream": "^4.5.2",