File tree Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Expand file tree Collapse file tree 5 files changed +12
-6
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ ci] ( https://github.com/Eomm/mercurius-logging/actions/workflows/ci.yml/badge.svg )] ( https://github.com/Eomm/mercurius-logging/actions/workflows/ci.yml )
4
4
[ ![ npm] ( https://img.shields.io/npm/v/mercurius-logging )] ( https://www.npmjs.com/package/mercurius-logging )
5
- [ ![ JavaScript Style Guide ] ( https://img.shields.io/badge/code_style-standard -brightgreen.svg )] ( https://standardjs .com )
5
+ [ ![ neostandard javascript style ] ( https://img.shields.io/badge/code_style-neostandard -brightgreen?style=flat )] ( https://github .com/neostandard/neostandard )
6
6
7
7
This plugin add a Log with all the GraphQL details you need.
8
8
Original file line number Diff line number Diff line change
1
+ 'use strict'
2
+
3
+ module . exports = require ( 'neostandard' ) ( {
4
+ ignores : require ( 'neostandard' ) . resolveIgnoresFromGitignore ( ) ,
5
+ ts : true ,
6
+ } )
Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"types" : " types/index.d.ts" ,
7
7
"scripts" : {
8
- "lint" : " standard && npm run lint:typescript" ,
9
- "lint:fix" : " standard --fix" ,
10
- "lint:typescript" : " standard --parser @typescript-eslint/parser --plugin @typescript-eslint/eslint-plugin types/**/*.ts" ,
8
+ "lint" : " eslint" ,
9
+ "lint:fix" : " eslint --fix" ,
11
10
"test" : " tap --show-full-coverage && tsd" ,
12
11
"test:unit" : " tap --show-full-coverage" ,
13
12
"test:types" : " tsd"
37
36
"@types/node" : " ^22.0.0" ,
38
37
"@typescript-eslint/eslint-plugin" : " ^7.0.0" ,
39
38
"@typescript-eslint/parser" : " ^7.0.0" ,
39
+ "eslint" : " ^9.21.0" ,
40
40
"fastify" : " ^5.0.0" ,
41
41
"graphql" : " ^16.8.0" ,
42
42
"mercurius" : " ^16.0.0" ,
43
+ "neostandard" : " ^0.12.1" ,
43
44
"split2" : " ^4.1.0" ,
44
45
"standard" : " ^17.0.0" ,
45
46
"tap" : " ^21.0.0" ,
Original file line number Diff line number Diff line change @@ -19,5 +19,5 @@ declare namespace mercuriusLogging {
19
19
export { mercuriusLogging as default }
20
20
}
21
21
22
- declare function plugin ( ...params : Parameters < MercuriusLogging > ) : ReturnType < MercuriusLogging >
22
+ declare function plugin ( ...params : Parameters < MercuriusLogging > ) : ReturnType < MercuriusLogging >
23
23
export = plugin
You can’t perform that action at this time.
0 commit comments