Commit graph

3 commits

Author SHA1 Message Date
Dan Stillman
84f74e5db0 Remove connectorTypeSchemaData.js from .eslintignore
Follow-up to 43373b77e
2023-05-07 02:43:31 -04:00
Dan Stillman
69699f10d4 ESLint: Ignore additional files 2019-02-26 06:07:54 -05:00
Dan Stillman
18054c4bc4 Add preliminary eslint config
None of our existing files match these rules perfectly, but they're
something to aspire to. I've only checked a handful of files, so there
may be some unwanted or missing rules, and there are definitely some
missing globals.

Some of our more common spacing inconsistencies are currently set as
warnings rather than errors so they can be easily disabled to see more
dangerous stuff.

At some point we can use --fix to correct many problems in existing
files, but we should go through existing pull requests before doing that
to avoid conflicts. Eventually, we'll want to enforce linting as part of
a pre-push hook and CI.
2019-01-21 03:36:16 -05:00