2022-02-13 14:03:04 +01:00
|
|
|
module.exports = {
|
2022-10-30 21:48:49 +01:00
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2020: true,
|
|
|
|
node: true,
|
|
|
|
jquery: true,
|
|
|
|
},
|
|
|
|
extends: ["airbnb-base", "prettier"],
|
|
|
|
plugins: ["prettier"],
|
|
|
|
parserOptions: {
|
|
|
|
ecmaVersion: 11,
|
|
|
|
sourceType: "module",
|
|
|
|
},
|
|
|
|
rules: {
|
|
|
|
"prettier/prettier": ["error"],
|
|
|
|
"no-underscore-dangle": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
allow: ["_id", "artists_sort", "type_"],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
camelcase: [
|
|
|
|
"error",
|
|
|
|
{
|
2023-10-08 15:02:08 +02:00
|
|
|
allow: [
|
|
|
|
"artists_sort",
|
|
|
|
"access_token",
|
|
|
|
"api_url",
|
|
|
|
"media_ids",
|
|
|
|
"release_id",
|
|
|
|
],
|
2022-10-30 21:48:49 +01:00
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
ignorePatterns: ["public/libs/**/*.js", "public/js/main.js", "dist/**"],
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
files: ["**/*.js"],
|
|
|
|
excludedFiles: "*.ejs",
|
|
|
|
},
|
2022-02-13 17:59:42 +01:00
|
|
|
],
|
2022-10-30 21:48:49 +01:00
|
|
|
globals: {
|
|
|
|
Vue: true,
|
|
|
|
axios: true,
|
|
|
|
showToastr: true,
|
|
|
|
protocol: true,
|
|
|
|
host: true,
|
2022-02-13 17:59:42 +01:00
|
|
|
},
|
2022-02-13 14:03:04 +01:00
|
|
|
};
|