You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
559 B
JavaScript

// Copyright (C) 2020 Intel Corporation
//
// SPDX-License-Identifier: MIT
module.exports = {
env: {
node: false,
browser: true,
es6: true,
jquery: true,
qunit: true,
'jest/globals': true,
'cypress/globals': true,
},
parserOptions: {
sourceType: 'script',
},
plugins: ['requirejs', 'jest', 'cypress', 'eslint-plugin-header'],
extends: ['eslint:recommended', 'plugin:requirejs/recommended', 'prettier'],
rules: {
'header/header': [2, '.header.js'],
},
};