mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Clean up .eslintrc.js with better variable naming (#59864)
This commit is contained in:
parent
e6327d32b0
commit
38717982e3
1 changed files with 3 additions and 3 deletions
|
@ -49,9 +49,9 @@ const ELASTIC_LICENSE_HEADER = `
|
|||
*/
|
||||
`;
|
||||
|
||||
const allMochaRules = {};
|
||||
const allMochaRulesOff = {};
|
||||
Object.keys(require('eslint-plugin-mocha').rules).forEach(k => {
|
||||
allMochaRules['mocha/' + k] = 'off';
|
||||
allMochaRulesOff['mocha/' + k] = 'off';
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
|
@ -524,7 +524,7 @@ module.exports = {
|
|||
*/
|
||||
{
|
||||
files: ['test/harden/*.js'],
|
||||
rules: allMochaRules,
|
||||
rules: allMochaRulesOff,
|
||||
},
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue