2021-06-29 05:27:27 +02:00
|
|
|
// SPDX-FileCopyrightText: 2021 Johannes Loher
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
parserOptions: {
|
2021-12-20 06:10:46 +01:00
|
|
|
ecmaVersion: 2022,
|
2021-06-29 05:27:27 +02:00
|
|
|
sourceType: 'module',
|
|
|
|
},
|
|
|
|
|
|
|
|
env: {
|
|
|
|
browser: true,
|
2021-12-20 06:10:46 +01:00
|
|
|
es2021: true,
|
|
|
|
jquery: true,
|
2021-06-29 05:27:27 +02:00
|
|
|
},
|
|
|
|
|
2021-06-29 21:13:21 +02:00
|
|
|
extends: ['eslint:recommended', '@typhonjs-fvtt/eslint-config-foundry.js/0.8.0', 'plugin:prettier/recommended'],
|
2021-06-29 05:27:27 +02:00
|
|
|
|
|
|
|
plugins: [],
|
|
|
|
|
|
|
|
globals: {
|
2022-08-21 23:29:26 +02:00
|
|
|
DefaultTokenConfig: false,
|
2021-06-29 19:10:55 +02:00
|
|
|
PrototypeTokenDocument: false,
|
2021-06-29 05:27:27 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
rules: {
|
|
|
|
// Specify any specific ESLint rules.
|
|
|
|
},
|
|
|
|
|
|
|
|
overrides: [
|
|
|
|
{
|
2022-10-17 03:26:51 +02:00
|
|
|
files: ['./*.js', './*.cjs', './*.mjs', './tools/**/*'],
|
2021-06-29 05:27:27 +02:00
|
|
|
env: {
|
|
|
|
node: true,
|
2021-12-20 06:10:46 +01:00
|
|
|
browser: false,
|
|
|
|
jquery: false,
|
2021-06-29 05:27:27 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|