yeslint/configs/node.js

23 lines
385 B
JavaScript
Raw Normal View History

2023-07-27 21:56:03 +02:00
'use strict';
const generic = require('./generic.js');
/**
* An extension on the default yeslint! generic config, with rules specific to
* Node.js environments.
*
* @package yeslint!
* @author Romein van Buren
* @license MIT
* @type {import('eslint').Linter.Config}
*/
const node = {
...generic,
2023-07-27 21:56:03 +02:00
env: {
...generic.env,
node: true,
},
};
module.exports = node;