]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Lint: stop ignoring package.js (#32021)
authorXhmikosR <xhmikosr@gmail.com>
Sat, 31 Oct 2020 07:30:57 +0000 (09:30 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 5 Nov 2020 09:22:05 +0000 (11:22 +0200)
.eslintignore
package.js

index 10b147b830e30e5851324d0a71cb69c8af01f1ba..8747d5460daa574dc47909cf767ccd31bd0874f7 100644 (file)
@@ -4,4 +4,3 @@
 /_gh_pages/
 /js/coverage/
 /site/sw.js
-/package.js
index aca0bede092bd34977a218801ce0df7185fd9fe6..dd304dc2e054d98a8b3a5e6c35c2b2b03413f410 100644 (file)
@@ -1,17 +1,19 @@
 // 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: '4.5.3',
   git: 'https://github.com/twbs/bootstrap.git'
-});
+})
 
-Package.onUse(function (api) {
-  api.versionsFrom('METEOR@1.0');
-  api.use('jquery', 'client');
+Package.onUse(api => {
+  api.versionsFrom('METEOR@1.0')
+  api.use('jquery', 'client')
   api.addFiles([
     'dist/css/bootstrap.css',
     'dist/js/bootstrap.js'
-  ], 'client');
-});
+  ], 'client')
+})