@panda-clouds/eslint-config-panda-clouds
Version:
An ESLint config for standardizing Panda Clouds Projects.
56 lines (33 loc) • 959 B
Markdown
- disabled 'camelCase' and 'newline-per-chained-call' because there are lots of exceptions to these rules
- made 'no-unused-vars' a warning unless prod
- added 'es6' env
- silenced console, debugger, no-disabled-tests, and no-focused-tests unless production
- added no-undef
- added camelcase
- added new-cap
- added newline-per-chained-call
- disallowed 'done' in favor of async/await
- disabled consistent-return so we could return promises from if statements
- allowed myVar + ' (' + otherVar + ') '
- operator-linebreak to 'after'
- removed jest/no-hooks
- bumped to ES9
- added async/await rules
- Allowed focused tests EXPECT in production
- Allowed disabled tests EXPECT in production
- turned off 'jest/no-test-callback' and 'jest/valid-describe'
- Initial Commit