snippeteer/.eslintrc.js

23 lines
502 B
JavaScript
Raw Permalink Normal View History

2020-03-25 16:45:44 +01:00
/*
2020-04-16 07:45:48 +02:00
* Copyright (C) SapphireCode - All Rights Reserved
2020-03-25 16:45:44 +01:00
* This file is part of Snippeteer which is released under BSD-3-Clause.
* See file 'LICENSE' for full license details.
2020-05-07 18:40:35 +02:00
* Created by Timo Hocker <timo@scode.ovh>, May 2020
2020-03-25 16:45:44 +01:00
*/
2020-05-17 19:55:04 +02:00
'use strict';
2020-01-15 11:50:44 +01:00
module.exports = {
env: {
commonjs: true,
2020-05-17 19:55:04 +02:00
es6: true,
node: true
2020-01-15 11:50:44 +01:00
},
2020-05-17 19:55:04 +02:00
extends: [ '@sapphirecode' ],
2020-01-15 11:50:44 +01:00
globals: {
2020-05-17 19:55:04 +02:00
Atomics: 'readonly',
2020-01-15 11:50:44 +01:00
SharedArrayBuffer: 'readonly'
},
2020-05-17 19:55:04 +02:00
parserOptions: { ecmaVersion: 2018 }
};