darkness-dependent-vision/.eslintrc.cjs

41 lines
710 B
JavaScript
Raw Normal View History

2021-06-29 05:27:27 +02:00
// SPDX-FileCopyrightText: 2021 Johannes Loher
//
// SPDX-License-Identifier: MIT
module.exports = {
parserOptions: {
ecmaVersion: 2022,
2021-06-29 05:27:27 +02:00
sourceType: 'module',
},
env: {
browser: true,
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: {
DefaultTokenConfig: false,
PrototypeTokenDocument: false,
2021-06-29 05:27:27 +02:00
},
rules: {
// Specify any specific ESLint rules.
},
overrides: [
{
files: ['./*.js', './*.cjs', './*.mjs', './tools/**/*'],
2021-06-29 05:27:27 +02:00
env: {
node: true,
browser: false,
jquery: false,
2021-06-29 05:27:27 +02:00
},
},
],
};