Package Exports
- @flitz/dev-config
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@flitz/dev-config) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@flitz/dev-config
Shared ESLint and tsconfig.json files for flitz.

Install
Run
npm install --save-dev eslint @flitz/dev-configfrom the folder, where your package.json is stored.
Usage
ESLint
Once the @flitz/dev-config package is installed, you can use it by specifying @flitz/dev-config in the extends section of your ESLint configuration.
Create a .eslintrc.js file in the root folder of your project and use the following skeleton:
module.exports = {
"extends": "@flitz/dev-config",
"rules": {
// Additional, per-project rules...
}
}As optional feature, you can add script entry, called lint e.g., to your package.json:
{
"scripts": {
"lint": "eslint -c .eslintrc.js --ext .ts <mySrcFolder>"
}
}tsconfig.json
{
"extends": "@flitz/dev-config",
"compilerOptions": {
}
}You can overwrite any compiler options.
License
MIT © Marcel Kloubert