Hello airbnb

This commit is contained in:
masnn committed 2020-04-15 15:08:05 +08:00
1 parent f9468536de
commit 8c195661d7
78 files changed
+2032 -1471

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
module.exports = {
env: {
commonjs: true,
node: true,
},
extends: [
'airbnb-base',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaVersion: 2018,
},
rules: {
"indent": ["warn", 4],
"no-plusplus": "off",
"no-underscore-dangle": "off",
"no-console": "off",
"no-extend-native": "off",
"no-restricted-syntax": "off",
"max-classes-per-file": "off",
"radix": "off",
"guard-for-in": "off",
"no-param-reassign": "off",
"global-require": "off"
},
};