prettier/scripts/build
Joseph Frazier 9290dd8803 Add some standardjs-esque eslint rules (#2401)
I experimented with simplifying the eslint config to just use eslint-config-standard and eslint-config-prettier. There were too many errors to make it a quick change, but I did find a few useful rules we could adopt instead.

---

* lint: Remove useless return statements

http://eslint.org/docs/rules/no-useless-return

* lint: Split declarations into multiple statements

http://eslint.org/docs/rules/one-var

* lint: Remove unneeded ternary operators

http://eslint.org/docs/rules/no-unneeded-ternary

* lint: Require symbol descriptions

http://eslint.org/docs/rules/symbol-description

* lint: Disallow declarations in nested blocks

http://eslint.org/docs/rules/no-inner-declarations

* lint: Disallow yoda conditions

http://eslint.org/docs/rules/yoda

* Revert "lint: Disallow yoda conditions"

See discussion at https://github.com/prettier/prettier/pull/2401#discussion_r125750068

This reverts commit f3b568d5bd48a742460cb0f805d1be38d8f61a40.
2017-07-05 16:54:46 -04:00
..
.eslintrc.js Enable linting of build scripts 2017-06-28 21:37:33 +02:00
build.js Website (#2241) 2017-07-02 10:14:24 +10:00
rollup.base.config.js Enable linting of build scripts 2017-06-28 21:37:33 +02:00
rollup.bin.config.js Enable linting of build scripts 2017-06-28 21:37:33 +02:00
rollup.docs.config.js Website (#2241) 2017-07-02 10:14:24 +10:00
rollup.index.config.js Enable linting of build scripts 2017-06-28 21:37:33 +02:00
rollup.parser.config.js Add some standardjs-esque eslint rules (#2401) 2017-07-05 16:54:46 -04:00