Skip to content

Commit

Permalink
chore(deps): use neostandard linting
Browse files Browse the repository at this point in the history
  • Loading branch information
voxpelli committed Sep 13, 2024
1 parent 4a44a20 commit 8a06ecc
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 29 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

4 changes: 0 additions & 4 deletions .eslintrc

This file was deleted.

4 changes: 2 additions & 2 deletions .knip.jsonc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "https://unpkg.com/knip@2/schema.json",
"ignoreDependencies": ["@types/mocha", "mocha"]
"$schema": "https://unpkg.com/knip@5/schema.json",
"ignoreDependencies": ["@types/mocha"]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Checks whether a string path matches a posix path

[![npm version](https://img.shields.io/npm/v/chai-posix-path.svg?style=flat)](https://www.npmjs.com/package/chai-posix-path)
[![npm downloads](https://img.shields.io/npm/dm/chai-posix-path.svg?style=flat)](https://www.npmjs.com/package/chai-posix-path)
[![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
1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '@voxpelli/eslint-config';
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { default } from "./lib/index.js";
export { default } from './lib/index.js';
export type {} from './lib/advanced-types.js';
21 changes: 6 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
"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",
"check:knip": "knip",
"check:lint": "eslint --report-unused-disable-directives .",
"check:lint": "eslint",
"check:tsc": "tsc",
"check": "run-s clean && run-p check:*",
"clean:declarations-top": "rm -rf $(find . -maxdepth 1 -type f -name '*.d.ts*' ! -name 'index.d.ts')",
Expand All @@ -54,23 +54,14 @@
"@types/chai": "^4.3.5",
"@types/mocha": "^10.0.1",
"@types/node": "^18.19.50",
"@voxpelli/eslint-config": "^18.0.0",
"@voxpelli/eslint-config": "^21.0.0",
"@voxpelli/tsconfig": "^8.0.0",
"c8": "^8.0.0",
"chai": "^4.3.7",
"eslint": "^8.44.0",
"eslint-plugin-es-x": "^7.1.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^46.4.3",
"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": "^47.0.0",
"eslint": "^9.10.0",
"husky": "^8.0.3",
"installed-check": "^8.0.0",
"knip": "^2.15.2",
"installed-check": "^9.3.0",
"knip": "^5.30.2",
"mocha": "^10.2.0",
"npm-run-all2": "^6.0.6",
"typescript": "~5.1.6"
Expand Down
3 changes: 0 additions & 3 deletions test/.eslintrc

This file was deleted.

2 changes: 0 additions & 2 deletions test/main.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ describe('chaiPosixPath', () => {
'foo\\bar'.should.be.posixPath('foo');
},
AssertionError,
// eslint-disable-next-line quotes
`expected 'foo\\bar' to be 'foo' but got 'foo/bar'`
);
});
Expand All @@ -40,7 +39,6 @@ describe('chaiPosixPath', () => {
'foo\\bar'.should.not.be.posixPath('foo/bar');
},
AssertionError,
// eslint-disable-next-line quotes
`expected 'foo\\bar' to not be matching 'foo/bar'`
);
});
Expand Down

0 comments on commit 8a06ecc

Please sign in to comment.