mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
33 lines
754 B
JavaScript
33 lines
754 B
JavaScript
module.exports = {
|
|
root: true,
|
|
env: {
|
|
commonjs: true,
|
|
node: true,
|
|
},
|
|
extends: [
|
|
'airbnb-base',
|
|
],
|
|
globals: {
|
|
Atomics: 'readonly',
|
|
SharedArrayBuffer: 'readonly',
|
|
},
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
},
|
|
rules: {
|
|
indent: ['warn', 4],
|
|
'no-plusplus': 'off',
|
|
'no-console': 'off',
|
|
'no-extend-native': 'off',
|
|
'no-underscore-dangle': 'off',
|
|
'no-restricted-syntax': 'off',
|
|
'max-classes-per-file': 'off',
|
|
'guard-for-in': 'off',
|
|
'no-param-reassign': 'off',
|
|
'global-require': 'off',
|
|
'no-nested-ternary': 'off',
|
|
'no-multi-assign': 'off',
|
|
'no-return-await': 'off',
|
|
},
|
|
};
|