37 lines
561 B
JavaScript
37 lines
561 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,
|
||
|
},
|
||
|
|
||
|
rules: {
|
||
|
// Specify any specific ESLint rules.
|
||
|
},
|
||
|
|
||
|
overrides: [
|
||
|
{
|
||
|
files: ['./*.js'],
|
||
|
env: {
|
||
|
node: true,
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
};
|