mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
75202c334c
https://contribute.cncf.io/blog/2026/04/09/reducing-support-tax-cncf-kapa-ai/ Changes to follow shortly, PR open for domain allow listing. Fixes https://github.com/open-policy-agent/opa/issues/8125 --------- Signed-off-by: Charlie Egan <charlie_egan@apple.com>
40 lines
870 B
JavaScript
40 lines
870 B
JavaScript
import js from "@eslint/js";
|
|
|
|
export default [
|
|
js.configs.recommended,
|
|
{
|
|
languageOptions: {
|
|
ecmaVersion: "latest",
|
|
sourceType: "module",
|
|
globals: {
|
|
console: "readonly",
|
|
process: "readonly",
|
|
require: "readonly",
|
|
module: "readonly",
|
|
__dirname: "readonly",
|
|
__filename: "readonly",
|
|
window: "readonly",
|
|
document: "readonly",
|
|
navigator: "readonly",
|
|
URL: "readonly",
|
|
fetch: "readonly",
|
|
MutationObserver: "readonly",
|
|
},
|
|
},
|
|
rules: {
|
|
"no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
|
|
"no-console": "off",
|
|
},
|
|
},
|
|
{
|
|
ignores: [
|
|
"node_modules/**",
|
|
".docusaurus/**",
|
|
"build/**",
|
|
"projects/regal/**",
|
|
"src/theme/prism-rego.js",
|
|
"src/theme/prism-include-languages.js",
|
|
],
|
|
},
|
|
];
|