darkness-dependent-vision/.eslintrc.js

37 lines
596 B
JavaScript

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