lava-oushudb-dt-sql-parser/.eslintrc.js

38 lines
846 B
JavaScript
Raw Normal View History

2020-08-28 13:29:47 +08:00
module.exports = {
'env': {
'browser': true,
'es6': true,
},
'extends': [
'google',
],
'globals': {
2021-01-05 18:04:43 +08:00
'expect': 'readable',
'test': 'readable',
'describe': 'readable',
'beforeEach': 'readable',
'afterEach': 'readable',
'jest': 'readable',
2020-08-28 13:29:47 +08:00
'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'],
2021-09-08 20:18:20 +08:00
'max-len': 0,
2020-08-28 13:29:47 +08:00
'require-jsdoc': 0,
'valid-jsdoc': 0,
'no-unused-vars': 0,
},
};