Skip to content

Commit

Permalink
chore: replace jshint by eslint standard
Browse files Browse the repository at this point in the history
  • Loading branch information
spurreiter committed Apr 20, 2020
1 parent 4a97909 commit f4dc9a0
Show file tree
Hide file tree
Showing 21 changed files with 3,261 additions and 900 deletions.
20 changes: 20 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = {
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"extends": [
"standard"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"node/no-deprecated-api": "warn"
}
};
46 changes: 0 additions & 46 deletions .jscsrc

This file was deleted.

89 changes: 0 additions & 89 deletions .jshintrc

This file was deleted.

18 changes: 9 additions & 9 deletions lib/ocsp.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
'use strict';
'use strict'

exports.Cache = require('./ocsp/cache');
exports.Agent = require('./ocsp/agent');
exports.Server = require('./ocsp/server');
exports.Cache = require('./ocsp/cache')
exports.Agent = require('./ocsp/agent')
exports.Server = require('./ocsp/server')

exports.getOCSPURI = require('./ocsp/api').getOCSPURI;
exports.getOCSPURI = require('./ocsp/api').getOCSPURI

exports.request = require('./ocsp/request');
exports.check = require('./ocsp/check');
exports.verify = require('./ocsp/verify');
exports.utils = require('./ocsp/utils');
exports.request = require('./ocsp/request')
exports.check = require('./ocsp/check')
exports.verify = require('./ocsp/verify')
exports.utils = require('./ocsp/utils')
Loading

0 comments on commit f4dc9a0

Please sign in to comment.