emoji-picker-js/.eslintrc.js

28 lines
540 B
JavaScript
Raw Permalink Normal View History

2020-09-30 04:14:53 +00:00
module.exports = {
parser: '@typescript-eslint/parser',
env: {
browser: true,
es6: true,
node: true,
jest: true
},
extends: [
'eslint:recommended',
'plugin:prettier/recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module'
},
rules: {
'no-console': 'error'
},
plugins: ['@typescript-eslint']
};