Upgrade web assets (#219)
* 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
This commit is contained in:
@ -1,38 +1,40 @@
|
||||
{
|
||||
"parser": "@babel/eslint-parser",
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es6": true,
|
||||
"es2017": true,
|
||||
"es2020": true,
|
||||
"es2021": true,
|
||||
"jquery": true
|
||||
},
|
||||
"plugins": [
|
||||
"node",
|
||||
"@babel",
|
||||
"import",
|
||||
"jsdoc"
|
||||
"jsdoc",
|
||||
"jquery"
|
||||
],
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"google",
|
||||
"plugin:node/recommended-module",
|
||||
"plugin:import/errors",
|
||||
"plugin:import/warnings",
|
||||
"plugin:jsdoc/recommended"
|
||||
"plugin:jsdoc/recommended",
|
||||
"plugin:jquery/deprecated"
|
||||
],
|
||||
"globals": {
|
||||
"Atomics": "readonly",
|
||||
"SharedArrayBuffer": "readonly"
|
||||
},
|
||||
"parser": "babel-eslint",
|
||||
"rules": {
|
||||
"require-jsdoc": "off",
|
||||
"valid-jsdoc": "off",
|
||||
"jsdoc/require-jsdoc": "off",
|
||||
"max-len": ["warn", {
|
||||
"code": 120
|
||||
}],
|
||||
"linebreak-style": "off",
|
||||
"jsdoc/require-jsdoc": "off",
|
||||
"import/unambiguous": "error",
|
||||
"import/no-commonjs": "error",
|
||||
"import/no-amd": "error",
|
||||
"linebreak-style": "off"
|
||||
"import/no-nodejs-modules": "error",
|
||||
"import/no-deprecated": "error",
|
||||
"import/extensions": ["error", "always"],
|
||||
"import/no-unresolved": ["error", {
|
||||
"commonjs": true
|
||||
}]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user