Skip to content

Commit fa385f5

Browse files
authored
build(deps-dev): replace standard with neostandard (#62)
* build(deps-dev): replace standard with neostandard * chore: add eslint.config.js --------- Signed-off-by: Frazer Smith <[email protected]>
1 parent 053ae00 commit fa385f5

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

eslint.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
'use strict'
2+
3+
module.exports = require('neostandard')({
4+
ignores: require('neostandard').resolveIgnoresFromGitignore(),
5+
ts: true
6+
})

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
"create-fastify": "cmd.js"
99
},
1010
"scripts": {
11-
"test": "c8 --100 node --test",
12-
"lint": "standard"
11+
"lint": "eslint",
12+
"lint:fix": "eslint --fix",
13+
"test": "c8 --100 node --test"
1314
},
1415
"keywords": [
1516
"fastify",
@@ -24,7 +25,7 @@
2425
"fastify-cli": "^7.0.0"
2526
},
2627
"devDependencies": {
27-
"standard": "^17.0.0"
28+
"neostandard": "^0.11.9"
2829
},
2930
"repository": {
3031
"type": "git",

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# create-fastify
22

33
[![CI](https://github.com/fastify/create-fastify/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/fastify/create-fastify/actions/workflows/ci.yml)
4-
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)
4+
[![neostandard javascript style](https://img.shields.io/badge/code_style-neostandard-brightgreen?style=flat)](https://github.com/neostandard/neostandard)
55

66
> Rapidly generate a Fastify project
77

0 commit comments

Comments
 (0)