holidayapi-node/.eslintrc.json
Josh Sherman fb903a8532
feat: port to typescript
* Wrapper was showing it's age, dated syntax, zero tests, et cetera.
* Ported wrapper to Typescript.
* Actually, was a full rewrite, the original interfacing was too obscure.
* Added linting (Airbnb).
* Rewrite includes full feature parity with the Holiday API service.
* This includes support for additional endpoints and latest request parameters.
* Added a ton of additional examples to the README.
* Finally got testing into the mix.
* Added Travis for CI and Coveralls for coverage reporting.
2019-09-09 22:20:39 -05:00

31 lines
688 B
JSON

{
"env": {
"browser": true,
"es6": true,
"jest/globals": true,
"node": true
},
"extends": [
"airbnb-base",
"plugin:import/typescript"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"jest"
],
"rules": {
"@typescript-eslint/no-unused-vars": "error",
"import/prefer-default-export": "off",
"lines-between-class-members": "off",
"no-unused-vars": "off"
}
}