mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 03:23:51 -05:00
Two changes in this PR: 1. fail CI jobs if there are lint warnings 2. add trailing comas everywhere (this aligns `actual-server` with `actual`)
22 lines
438 B
JavaScript
22 lines
438 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
amd: true,
|
|
node: true,
|
|
jest: true
|
|
},
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: ['@typescript-eslint', 'prettier'],
|
|
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
|
|
rules: {
|
|
'prettier/prettier': 'error',
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'error',
|
|
{
|
|
argsIgnorePattern: '^_'
|
|
}
|
|
]
|
|
}
|
|
};
|