Skip to content

Commit

Permalink
chore(deps): update to neostandard based linting
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Jun 24, 2024
1 parent 6142f6f commit ab88e24
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 18 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

4 changes: 0 additions & 4 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Reporter for [node:test](https://nodejs.org/api/test.html#custom-reporters) that

[![npm version](https://img.shields.io/npm/v/@voxpelli/node-test-pretty-reporter.svg?style=flat)](https://www.npmjs.com/package/@voxpelli/node-test-pretty-reporter)
[![npm downloads](https://img.shields.io/npm/dm/@voxpelli/node-test-pretty-reporter.svg?style=flat)](https://www.npmjs.com/package/@voxpelli/node-test-pretty-reporter)
[![js-semistandard-style](https://img.shields.io/badge/code%20style-semistandard-brightgreen.svg)](https://github.com/voxpelli/eslint-config)
[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-7fffff?style=flat&labelColor=ff80ff)](https://github.com/neostandard/neostandard)
[![Module type: ESM](https://img.shields.io/badge/module%20type-esm-brightgreen)](https://github.com/voxpelli/badges-cjs-esm)
[![Types in JS](https://img.shields.io/badge/types_in_js-yes-brightgreen)](https://github.com/voxpelli/types-in-js)
[![Follow @voxpelli@mastodon.social](https://img.shields.io/mastodon/follow/109247025527949675?domain=https%3A%2F%2Fmastodon.social&style=social)](https://mastodon.social/@voxpelli)
Expand Down
13 changes: 13 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { voxpelli } from '@voxpelli/eslint-config';

export default [
...voxpelli({
noMocha: true,
}),
{
files: ['test/**/*.js'],
rules: {
'n/no-unsupported-features/node-builtins': 0,
},
},
];
15 changes: 3 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"build:0": "run-s clean",
"build:1-declaration": "tsc -p declaration.tsconfig.json",
"build": "run-s build:*",
"check:installed-check": "installed-check -i eslint-plugin-jsdoc -i knip -i installed-check",
"check:installed-check": "installed-check -i @voxpelli/eslint-config -i eslint -i knip -i installed-check",
"check:knip": "knip",
"check:lint": "eslint --report-unused-disable-directives .",
"check:tsc": "tsc",
Expand All @@ -48,19 +48,10 @@
},
"devDependencies": {
"@types/node": "^18.17.1",
"@voxpelli/eslint-config": "^19.0.0",
"@voxpelli/eslint-config": "^20.0.0-beta.3",
"@voxpelli/tsconfig": "^8.0.0",
"c8": "^10.1.2",
"eslint": "^8.45.0",
"eslint-plugin-es-x": "^7.2.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^46.4.4",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-security": "^1.7.1",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"eslint-plugin-unicorn": "^48.0.1",
"eslint": "^9.5.0",
"husky": "^9.0.11",
"installed-check": "^9.3.0",
"knip": "^5.22.3",
Expand Down

0 comments on commit ab88e24

Please sign in to comment.