DZ
Size: a a a
DZ
DZ
AP
NS
A
SR
D
m
/* eslint-disable */
/* tslint:disable */
ab
eslint, nodejs, babel, mocha, prettier, express.
ESLint: Import and export declarations are not supported yet.(node/no-unsupported-features/es-syntax)
import express from 'express';
ab
{
"parser": "babel-eslint",
"env": {
"es6": true,
"commonjs": true,
"browser": true,
"node": true
},
"extends": [
"airbnb-base",
"plugin:prettier/recommended",
"plugin:node/recommended"
],
"plugins": ["babel", "prettier"],
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": true,
"ecmaVersion": 2020
},
"rules": {
"prettier/prettier": "error",
"spaced-comment": "off",
"no-console": "warn",
"consistent-return": "off",
"func-names": "off",
"object-shorthand": "off",
"no-process-exit": "off",
"no-param-reassign": "off",
"no-return-await": "off",
"no-underscore-dangle": "off",
"class-methods-use-this": "off",
"prefer-destructuring": ["error", { "object": true, "array": false }],
"no-unused-vars": ["error", { "argsIgnorePattern": "req|res|next|val" }],
"object-curly-spacing": [2, "always"]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx"]
}
}
}
}
DK
unsupported/es-syntax
вы же процессите код с помощью бабеля, поэтому не будет не поддерживаемого синтаксисаab
unsupported/es-syntax
вы же процессите код с помощью бабеля, поэтому не будет не поддерживаемого синтаксисаPP
PP
m
m
DK
window.setTimeout = твоя кастомная функция
m