standard/.eslintrc.js

23 lines
498 B
JavaScript
Raw Normal View History

2020-05-04 20:47:01 +02:00
/*
* Copyright (C) SapphireCode - All Rights Reserved
* This file is part of Standard which is released under MIT.
* See file 'LICENSE' for full license details.
2020-05-06 07:33:13 +02:00
* Created by Timo Hocker <timo@sapphirecode.ovh>, May 2020
2020-05-04 20:47:01 +02:00
*/
2020-05-15 12:26:51 +02:00
'use strict';
2020-05-04 12:00:18 +02:00
module.exports = {
env: {
commonjs: true,
2020-05-15 12:26:51 +02:00
es6: true,
node: true
2020-05-04 12:00:18 +02:00
},
2020-05-15 12:26:51 +02:00
extends: [ '@sapphirecode' ],
2020-05-04 12:00:18 +02:00
globals: {
2020-05-15 12:26:51 +02:00
Atomics: 'readonly',
2020-05-04 12:00:18 +02:00
SharedArrayBuffer: 'readonly'
},
2020-05-15 12:26:51 +02:00
parserOptions: { ecmaVersion: 2018 }
};