Skip to content

Commit

Permalink
chore: update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
martinheidegger committed Mar 23, 2022
1 parent aedf28f commit 8ecb592
Show file tree
Hide file tree
Showing 7 changed files with 159 additions and 152 deletions.
6 changes: 3 additions & 3 deletions example.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var schema = require('./')
var fs = require('fs')
const schema = require('./')
const fs = require('fs')

var sch = schema.parse(fs.readFileSync('example.proto'))
const sch = schema.parse(fs.readFileSync('example.proto'))

console.log('Parsed schema:')
console.log(JSON.stringify(sch, null, 2))
Expand Down
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var parse = require('./parse')
var stringify = require('./stringify')
const parse = require('./parse')
const stringify = require('./stringify')

module.exports = parse
module.exports.parse = parse
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "No nonsense protocol buffers schema parser written in Javascript",
"main": "index.js",
"devDependencies": {
"standard": "^10.0.3",
"standard": "^16.0.4",
"tape": "^5.5.2"
},
"scripts": {
Expand Down
Loading

0 comments on commit 8ecb592

Please sign in to comment.