Archived
1
0
Fork 0
This repository has been archived on 2024-02-06. You can view files and clone it, but cannot push or open issues or pull requests.
api-ts-gen/.eslintrc.js

34 lines
710 B
JavaScript
Raw Normal View History

module.exports = {
'env': {
'es6': true,
'node': true
},
'extends': [
'google'
],
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly'
},
'parser': '@typescript-eslint/parser',
'parserOptions': {
'ecmaVersion': 2018,
'sourceType': 'module'
},
'plugins': [
'@typescript-eslint'
],
'rules': {
'require-jsdoc': 'off',
'arrow-parens': ['error', 'as-needed'],
'indent': ['error', 2, {'MemberExpression': 1}],
// no-unused-vars except ts interface
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': ['error', {
'vars': 'all',
'args': 'after-used',
'ignoreRestSiblings': false
}],
},
};