32ef855af2
Fix broken update links. Add one-shot campaigns.
34 lines
504 B
JavaScript
34 lines
504 B
JavaScript
// eslint.config.js
|
|
import { defineConfig } from 'eslint/config';
|
|
|
|
export default defineConfig([
|
|
{
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
},
|
|
extends: [
|
|
'eslint:recommended',
|
|
'prettier', // Make sure this is the last
|
|
],
|
|
overrides: [
|
|
{
|
|
env: {
|
|
node: true,
|
|
},
|
|
parserOptions: {
|
|
sourceType: 'script',
|
|
},
|
|
},
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module',
|
|
},
|
|
rules: {
|
|
'link.no-such-file': 'off',
|
|
link: 'off',
|
|
},
|
|
},
|
|
]);
|