eslint: Move file config to eslint section
This commit is contained in:
parent
a3ef47b82d
commit
0043cd6b9a
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,3 @@
|
||||||
/* eslint sort-keys: ["error", "asc", {minKeys: 5}] */
|
|
||||||
|
|
||||||
const globals = require("globals");
|
const globals = require("globals");
|
||||||
const js = require("@eslint/js");
|
const js = require("@eslint/js");
|
||||||
const erb = require("eslint-plugin-erb");
|
const erb = require("eslint-plugin-erb");
|
||||||
|
@ -171,6 +169,9 @@ module.exports = [
|
||||||
globals: {
|
globals: {
|
||||||
...globals.commonjs
|
...globals.commonjs
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
rules: {
|
||||||
|
"sort-keys": ["error", "asc", { minKeys: 5 }]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue