darkness-dependent-vision/.eslintrc.js

39 lines
657 B
JavaScript

// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
module.exports = {
parserOptions: {
ecmaVersion: 2022,
sourceType: 'module',
},
env: {
browser: true,
es2021: true,
jquery: true,
},
extends: ['eslint:recommended', '@typhonjs-fvtt/eslint-config-foundry.js/0.8.0', 'plugin:prettier/recommended'],
plugins: [],
globals: {
PrototypeTokenDocument: false,
},
rules: {
// Specify any specific ESLint rules.
},
overrides: [
{
files: ['./*.js', './tools/**/*'],
env: {
node: true,
browser: false,
jquery: false,
},
},
],
};