Add ESLint configuration Change-Id: Ib63002e08006dd8b5b99bdf9d237b73b179f42b7
diff --git a/owners/web/eslint.config.js b/owners/web/eslint.config.js new file mode 100644 index 0000000..69ddb56 --- /dev/null +++ b/owners/web/eslint.config.js
@@ -0,0 +1,18 @@ +/** + * @license + * Copyright 2022 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +const {defineConfig} = require('eslint/config'); + +// eslint-disable-next-line no-undef +__plugindir = 'owners/web'; + +const gerritEslint = require('../../eslint.config.js'); + +module.exports = defineConfig([ + { + extends: [gerritEslint], + }, +]);