UNPKG

406 BJavaScriptView Raw
1module.exports = {
2 globals: {
3 importScripts: true
4 },
5 'parserOptions': {
6 'ecmaVersion': 8
7 },
8 env: {
9 node: true,
10 es6: true
11 },
12 'ecmaFeatures': {
13 'modules': true,
14 'arrowFunctions': true,
15 'classes': true
16 },
17 plugins: ['prettier'],
18 rules: {
19 'no-unused-vars': ['error', { 'vars': 'all', 'args': 'after-used', 'ignoreRestSiblings': false }]
20 },
21 extends: ['plugin:prettier/recommended']
22}