mirror of
https://github.com/azlux/botamusique
synced 2024-11-23 22:06:09 +00:00
ff5b1cb1ee
* Update assets * Upgrade linting and other improvments * Correct linting * Correction and type check improvements * Correct type check lib * Fix lint pathing for VSCode * Remove duplicate babel config * Remove editorconfig root attribute from web subdir * Use double quotes around message * Simplify ESLint config * Update web assets * Allow AMD loader in WebPack * Bump web dependencies * Only include FA icons in-use
41 lines
841 B
JSON
41 lines
841 B
JSON
{
|
|
"parser": "@babel/eslint-parser",
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
"es2017": true,
|
|
"es2020": true,
|
|
"es2021": true,
|
|
"jquery": true
|
|
},
|
|
"plugins": [
|
|
"@babel",
|
|
"import",
|
|
"jsdoc",
|
|
"jquery"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:import/errors",
|
|
"plugin:import/warnings",
|
|
"plugin:jsdoc/recommended",
|
|
"plugin:jquery/deprecated"
|
|
],
|
|
"rules": {
|
|
"max-len": ["warn", {
|
|
"code": 120
|
|
}],
|
|
"linebreak-style": "off",
|
|
"jsdoc/require-jsdoc": "off",
|
|
"import/unambiguous": "error",
|
|
"import/no-commonjs": "error",
|
|
"import/no-amd": "error",
|
|
"import/no-nodejs-modules": "error",
|
|
"import/no-deprecated": "error",
|
|
"import/extensions": ["error", "always"],
|
|
"import/no-unresolved": ["error", {
|
|
"commonjs": true
|
|
}]
|
|
}
|
|
}
|