Commit Graph

18 Commits

Author SHA1 Message Date
Dominik Ferber
19c8a4012f chore: update dependencies
Drop eslint-config-airbnb, support eslint@6

closes #729
2019-07-28 18:33:11 +02:00
Dominik Ferber
a5ed442322 refactor: spring cleanup
Remove babel and convert code to use CommonJS format.
Convert rules to updated format (https://eslint.org/docs/developer-guide/working-with-rules).

BREAKING CHANGE: Changes exported, recommended eslint config (`extends: ["plugin:meteor/recommended"]`) to enable ecmaVersion 6, sourceType module and jsx for the ESLint parser.

closes #654
2018-05-09 23:47:16 +02:00
Dominik Ferber
447283b4e2 style(prettier): apply format 2017-07-24 10:19:37 +02:00
Dominik Ferber
1f9deb259b style: add parentheses around arrow function argument 2016-09-15 15:55:41 +02:00
Dominik Ferber
f69f84bd19 refactor: adapt new airbnb code style 2016-08-02 08:50:56 +02:00
Dominik Ferber
2f843012d9 chore(tooling): fix new rule generation script 2016-03-11 14:26:25 +01:00
Dominik Ferber
9ebb7a0ce7 refactor: use es6 modules consistently 2016-03-09 17:36:58 +01:00
Dominik Ferber
f6d6f3cb97 chore(testing): switch to nyc
NYC has better code coverage information and support for babel 6.
2016-03-09 17:07:29 +01:00
Dominik Ferber
80ec4f0c68 chore(tooling): update new-rule script 2016-03-02 14:27:28 +01:00
Dominik Ferber
44f63aee30 chore(scaffolding): Switch to new test style for rules 2015-10-21 21:26:07 +02:00
Dominik Ferber
bbf9f22109 refactor(): Determine env only once per file
Also fixes a bug in audit-argument-checks where it would show errors in non-meteor blocks.

BREAKING CHANGE: Envs specified through comments are now restricted to client and server.
2015-10-17 23:28:42 +02:00
Dominik Ferber
e46a8131f4 refactor(internal): Remove isLintedEnv
Check through executors instead.
2015-10-17 18:44:12 +02:00
Dominik Ferber
0b9622dedd fix(internal): Add locus resloving capabilities
Resolve all Meteor.isClient, Meteor.isServer and Meteor.isCordova LogicalExpressions
2015-10-13 18:42:31 +02:00
Dominik Ferber
7fd1f546fc chore(scaffolding): Change scaffolded file contents
No more vars. No more ESLint errors.
2015-10-10 10:06:08 +02:00
Dominik Ferber
2b01583e7f refactor(): Use let and const instead of var
Add rule no-var to configuration of project
2015-10-10 09:54:14 +02:00
Dominik Ferber
e80f048542 chore(scaffolding): Change rule scaffolding 2015-10-06 18:27:27 +02:00
Dominik Ferber
f1371ef1d2 chore(scaffolding): Remove syntax error in scaffolded rule 2015-10-04 16:01:03 +02:00
Dominik Ferber
63eba5883e chore(scaffolding): Add rule scaffolding
Developers may now use  npm run lint to scaffold new rules.
2015-10-04 13:19:08 +02:00