-/* eslint sort-keys: ["error", "asc", {minKeys: 5}] */
-
const globals = require("globals");
const js = require("@eslint/js");
const erb = require("eslint-plugin-erb");
"no-useless-call": "error",
"no-useless-concat": "error",
"no-useless-return": "error",
+ "no-var": "error",
"no-void": "error",
"no-warning-comments": "warn",
"operator-assignment": "error",
+ "prefer-const": "error",
"prefer-object-spread": "error",
"radix": ["error", "always"],
"yoda": "error"
globals: {
...globals.commonjs
}
+ },
+ rules: {
+ "sort-keys": ["error", "asc", { minKeys: 5 }]
}
}
];