* chore: Move standard to ESLint config * fix: auto-fix ESLint indent issues * fix: ESLint prefer-regex-literals * fix: ESLint array-callback-return - .filter must return a boolean value - .map replaced with forEach when the value isn't used * fix: ESLint no-extra-semi
29 lines
374 B
JavaScript
29 lines
374 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
commonjs: true,
|
|
es2020: true,
|
|
node: true
|
|
},
|
|
parser: 'babel-eslint',
|
|
extends: [
|
|
'eslint:recommended',
|
|
'standard'
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 11
|
|
},
|
|
rules: {
|
|
},
|
|
overrides: [
|
|
{
|
|
files: [
|
|
'**/tests/**/*.js'
|
|
],
|
|
env: {
|
|
jest: true
|
|
}
|
|
}
|
|
]
|
|
}
|