mirror of
https://github.com/garraflavatra/yeslint.git
synced 2024-11-24 01:37:29 +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}
|
* @type {import('eslint').Linter.Config}
|
||||||
*/
|
*/
|
||||||
const node = {
|
const node = {
|
||||||
parserOptions: { ...generic.parserOptions },
|
...generic,
|
||||||
env: {
|
env: {
|
||||||
...generic.env,
|
...generic.env,
|
||||||
node: true,
|
node: true,
|
||||||
},
|
},
|
||||||
extends: [ ...generic.extends ],
|
|
||||||
plugins: [ ...generic.plugins ],
|
|
||||||
rules: { ...generic.rules },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = node;
|
module.exports = node;
|
||||||
|
Loading…
Reference in New Issue
Block a user