eslint-config-formidable
eslint-config-formidable copied to clipboard
A set of default eslint configurations from Formidable
The following is an idiomatic ES6 pattern for structuring module code ``` js // named export functions declared on top to make it easy // to discover the public API...
Configure this rule to allow unused args for things like Express method signatures `(req, res, next)` http://eslint.org/docs/rules/no-unused-vars#options
We have had a number of rounds of updates where we add new rules and remove deprecation to support new versions of eslint but never follow up on the promise...
A configuration file should be defined for react-native projects, and deviations should be outlined here
Something like: ``` test/ fixtures/ # Example code should _pass_ `configurations/formidable/NAME` pass/ es5-browser.js es5-node.js es5-test.js es5.js es6-browser.js es6-node.js es6-react-test.js es6-react.js es6-test.js es6.js # Example code should _fail_ `configurations/formidable/NAME` fail/ es5-browser.js...
Double is current convention (from all of the walmart code and the majority of big Formidable projects). Walmart also uses all template strings for es code. To reduce churn on...