sqrap
Version:
sqrap is a configurable web scraper that can map information from a website using a json schema.
22 lines (21 loc) • 522 B
JavaScript
module.exports = {
root: true,
extends: ['airbnb-base', 'prettier'],
rules: {
'prefer-arrow-callback': ['error', { allowNamedFunctions: true }],
'no-restricted-syntax': ['error', 'ForInStatement', 'LabeledStatement', 'WithStatement'],
'no-underscore-dangle': 'off',
'consistent-return': 'off',
'no-await-in-loop': 'off',
'no-continue': 'off',
'no-plusplus': 'off'
},
env: {
node: true,
jest: true
},
parserOptions: {
sourceType: 'script',
ecmaVersion: 2018
}
};