lava-oushudb-dt-sql-parser/.eslintrc.js
2020-08-28 13:29:47 +08:00

32 lines
697 B
JavaScript

module.exports = {
'env': {
'browser': true,
'es6': true,
},
'extends': [
'google',
],
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly',
},
'parser': '@typescript-eslint/parser',
'parserOptions': {
'ecmaFeatures': {
},
'ecmaVersion': 11,
'sourceType': 'module',
},
'plugins': [
'@typescript-eslint',
],
'rules': {
'indent': ['error', 4],
'object-curly-spacing': ['error', 'always'],
'max-len': ['error', { 'ignoreComments': true }],
'require-jsdoc': 0,
'valid-jsdoc': 0,
'no-unused-vars': 0,
},
};