mirror of
https://github.com/wekan/wekan.git
synced 2025-12-20 17:30:13 +01:00
Replace the old (and broken) jshint + jscsrc by eslint and configure it to support some of the ES6 features. The command `eslint` currently has one error which is a bug that was discovered by its static analysis and should be fixed (usage of a dead object).
4 lines
104 B
JavaScript
4 lines
104 B
JavaScript
Meteor.publish('card', (cardId) => {
|
|
check(cardId, String);
|
|
return Cards.find({ _id: cardId });
|
|
});
|