UNPKG

pdf-data-parser

Version:

Parse, search and stream PDF tabular data using Node.js with Mozilla's PDF.js library.

31 lines (29 loc) 750 B
// http://eslint.org/docs/user-guide/configuring export default { "env": { "node": true }, "extends": [ 'eslint:recommended', 'plugin:node/recommended' ], "parserOptions": { "ecmaVersion": 2017, "sourceType": "script" }, "globals": { "config": "readonly", "logger": "readonly" }, "rules": { 'arrow-parens': ["warn", "always"], 'generator-star-spacing': 1, 'quotes': "off", 'indent': ['warn', 2, { "MemberExpression": "off", "SwitchCase": 1 }], 'semi': ['warn', 'always'], 'func-call-spacing': 0, 'curly': "off", 'no-console': process.env.NODE_ENV === 'production' ? 2 : 0, 'no-unused-vars': ["warn", { "argsIgnorePattern": "^_" }] } }