mirror of
https://github.com/garraflavatra/yeslint.git
synced 2024-11-23 17:27:28 +01:00
Node config: extend all generic properties
This commit is contained in:
parent
ffc8867fce
commit
27d8247ad0
@ -12,14 +12,11 @@ const generic = require('./generic.js');
|
||||
* @type {import('eslint').Linter.Config}
|
||||
*/
|
||||
const node = {
|
||||
parserOptions: { ...generic.parserOptions },
|
||||
...generic,
|
||||
env: {
|
||||
...generic.env,
|
||||
node: true,
|
||||
},
|
||||
extends: [ ...generic.extends ],
|
||||
plugins: [ ...generic.plugins ],
|
||||
rules: { ...generic.rules },
|
||||
};
|
||||
|
||||
module.exports = node;
|
||||
|
Loading…
Reference in New Issue
Block a user