Upload
fabian-kromer
View
97
Download
3
Embed Size (px)
Citation preview
meteor add ecmascript
● Arrow functions● Classes● Constants● Block scoping● Property shorthands● For … of● Polyfills!
○ Promise○ Map○ …
● ...More at https://docs.meteor.com/packages/ecmascript.html#Supported-ES2015-Features
meteor add ecmascript&& meteor remove coffeescript underscore
● Arrow functions● Classes● Constants● Block scoping● Property shorthands● For … of● Polyfills!
○ Promise○ Map○ …
● ...More at https://docs.meteor.com/packages/ecmascript.html#Supported-ES2015-Features
meteor add ecmascript
● Arrow functions● Classes● Constants● Block scoping● Property shorthands● For … of● Polyfills!
○ Promise○ Map○ …
● ...More at https://docs.meteor.com/packages/ecmascript.html#Supported-ES2015-Features
+
meteor npm install eslint eslint-plugin-import eslint-config-airbnb-base
eslint-import-resolver-meteor babel-eslint --save-dev
ESLint
Getting started with Linting and Meteor
Update package.json and lint
{ ... "scripts": { "lint": "eslint --quiet .", }, "eslintConfig": { "parser": "babel-eslint", "parserOptions": { "allowImportExportEverywhere": true }, "extends": [ "airbnb-base" ], "settings": { "import/resolver": "meteor" }, "rules": {}, "globals": {} }}
meteor npm run lint