diff options
| author | XhmikosR <[email protected]> | 2020-10-31 09:30:57 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-11-05 11:22:05 +0200 |
| commit | 30641eb34654899c0f4e87238f775e9ad5bbea5c (patch) | |
| tree | 94f653ef35e87877cc55ea68cf3f614472350b48 | |
| parent | bbfd22f924f24cb447cf9f8a6c50f282621817b8 (diff) | |
| download | bootstrap-30641eb34654899c0f4e87238f775e9ad5bbea5c.tar.xz bootstrap-30641eb34654899c0f4e87238f775e9ad5bbea5c.zip | |
Lint: stop ignoring package.js (#32021)
| -rw-r--r-- | .eslintignore | 1 | ||||
| -rw-r--r-- | package.js | 14 |
2 files changed, 8 insertions, 7 deletions
diff --git a/.eslintignore b/.eslintignore index 10b147b83..8747d5460 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,4 +4,3 @@ /_gh_pages/ /js/coverage/ /site/sw.js -/package.js diff --git a/package.js b/package.js index aca0bede0..dd304dc2e 100644 --- a/package.js +++ b/package.js @@ -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('[email protected]'); - api.use('jquery', 'client'); +Package.onUse(api => { + api.versionsFrom('[email protected]') + api.use('jquery', 'client') api.addFiles([ 'dist/css/bootstrap.css', 'dist/js/bootstrap.js' - ], 'client'); -}); + ], 'client') +}) |
