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: {
|
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: [
|
|
|
|
{
|
2021-12-20 06:10:46 +01:00
|
|
|
files: ['./*.js', './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
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|