From: XhmikosR Date: Sat, 31 Oct 2020 07:30:57 +0000 (+0200) Subject: Lint: stop ignoring package.js (#32021) X-Git-Tag: v5.0.0-alpha3~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=831fbd271fec760e8e651e0a9189ee031a66c62c;p=thirdparty%2Fbootstrap.git Lint: stop ignoring package.js (#32021) --- diff --git a/.eslintignore b/.eslintignore index 6d874bc365..ae6baae7e1 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,4 +4,3 @@ /_gh_pages/ /js/coverage/ /site/static/sw.js -/package.js diff --git a/package.js b/package.js index f1012b8bd9..f567b2541b 100644 --- a/package.js +++ b/package.js @@ -1,16 +1,18 @@ // package metadata file for Meteor.js +/* eslint-env meteor */ + Package.describe({ name: 'twbs:bootstrap', // https://atmospherejs.com/twbs/bootstrap summary: 'The most popular front-end framework for developing responsive, mobile first projects on the web.', version: '5.0.0-alpha2', git: 'https://github.com/twbs/bootstrap.git' -}); +}) -Package.onUse(function (api) { - api.versionsFrom('METEOR@1.0'); +Package.onUse(api => { + api.versionsFrom('METEOR@1.0') api.addFiles([ 'dist/css/bootstrap.css', 'dist/js/bootstrap.js' - ], 'client'); -}); + ], 'client') +})