Solid ESLint base configuration

Solid defaults for eslinting.
Install
Linting TypeScript
Requirements
TypeScript configuration files need to match the ./**/tsconfig.*json
glob pattern adopted
by Solid's ESLint base configuration.
All TypeScript files must be included in a tsconfig
.
A common error
A common error is missing a tsconfig
for tests.
Parsing error: "parserOptions.project" has been set for @typescript-eslint/parser.
The file does not match your project config: <TEST_FILE>
The file must be included in at least one of the projects provided.
To fix it, extend tsconfig.json
from a tsconfig.test.json
that includes the test
folder.
printf '{\n "extends": "./tsconfig.json",\n "include": [ "test" ]\n}\n' > tsconfig.test.json