UNPKG

@jsbits/get-package-version

Version:

Get the version of the package.json file found in the given directory or in one of its parents.

31 lines (27 loc) 427 B
module.exports = { parserOptions: { sourceType: 'module', }, env: { node: true, }, overrides: [ { files: ['test/*.ts'], rules: { 'max-lines': [2, 999], 'max-lines-per-function': [2, 899], 'max-statements': [2, 99], }, env: { mocha: true, }, }, { files: ['proto.ts'], env: { browser: true, }, }, ], }