* feat: remove initializeSponsorshipVisibility and related code * feat: remove sponsorships from sidebar * feat: remove sponsorships from the admin - route, controller, view, spec * feat: remove the admin menu item * feat: remove the i8n for admin sponsors controller * feat: sponsorship decorator was not being used anywhere * feat: sponsorship slack messenger was not being used anywhere * feat: remove the sponsorship_headline that gets configures on the admin * feat: remove the /sponsors page * feat: remove renedring of single_sponsor partial and associated partials * feat: remove the navigation link rake task for sponsors * feat: remove sponsorship from tags * feat: remove i8n constants used * remove sponsor references in text to the privacy page * feat: remove the sponsorship detail from the organization page * feat: remove the sponsors css that was used for app/views/pages/sponsors.html.erb * feat: remove the sponsorship i8n that was used in the slack messengers * feat: swap out the decorators to use Article as an example * feat: remove spec to show sponsors on home page * feat: update the specs to use Article Decorator instead of the Sponsorship Decorator * fix: use direct and not all * fix: remove tests for tag sponsorship * fix: remove organization sponsorship test * feat: remove more i8n
32 lines
734 B
JavaScript
32 lines
734 B
JavaScript
/* eslint-env node */
|
|
|
|
module.exports = {
|
|
extends: ['eslint:recommended', 'prettier'],
|
|
parserOptions: {
|
|
ecmaVersion: 2018,
|
|
},
|
|
env: {
|
|
browser: true,
|
|
},
|
|
plugins: ['ignore-erb'],
|
|
rules: {
|
|
'no-unused-vars': 'off',
|
|
'vars-on-top': 'off',
|
|
},
|
|
globals: {
|
|
getCsrfToken: false,
|
|
sendFetch: false,
|
|
preventDefaultAction: false,
|
|
userData: false,
|
|
ga: false, // Google Analytics
|
|
gtag: false, // Google Analytics 4
|
|
handleOptimisticButtRender: false,
|
|
handleFollowButtPress: false,
|
|
browserStoreCache: false,
|
|
initializeBaseUserData: false,
|
|
initializeDisplayAdVisibility: false,
|
|
initializeReadingListIcons: false,
|
|
ActiveXObject: false,
|
|
AndroidBridge: false,
|
|
},
|
|
};
|