ai/.eslintrc.js
2022-08-10 16:58:29 +09:00

29 lines
596 B
JavaScript

module.exports = {
'env': {
'es2021': true,
'node': true,
},
'extends': [
'google',
],
'parser': '@typescript-eslint/parser',
'parserOptions': {
'ecmaVersion': 'latest',
'sourceType': 'module',
},
'plugins': [
'@typescript-eslint',
],
'rules': {
'no-tabs': 'off',
'max-len': ['error', {'code': 120}],
'indent': ['error', 'tab'],
'@typescript-eslint/no-unused-vars': ['warn', {'argsIgnorePattern': '^_'}],
'no-unused-vars': 'off',
'require-jsdoc': 'off',
'valid-jsdoc': 'off',
'max-len': 'off',
'no-mixed-spaces-and-tabs': 'off',
'new-cap': 'off',
},
};