Skip to content

Commit

Permalink
Merge pull request #36 from pasupulaphani/use-eslint
Browse files Browse the repository at this point in the history
move to eslint
  • Loading branch information
pasupulaphani committed Jun 28, 2020
2 parents 57fad8e + 6d99601 commit 129ad53
Show file tree
Hide file tree
Showing 38 changed files with 2,221 additions and 50,904 deletions.
12 changes: 0 additions & 12 deletions .eslintrc

This file was deleted.

29 changes: 29 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,29 @@
module.exports = {
env: {
browser: false,
node: true
},
extends: [
'airbnb-typescript/base',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'prettier',
'prettier/@typescript-eslint'
],
parser: '@typescript-eslint/parser',
parserOptions: {
project: 'tsconfig.json',
sourceType: 'module'
},
plugins: ['@typescript-eslint'],
rules: {
'no-underscore-dangle': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/camelcase': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-return': 'off'
}
}
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -41,3 +41,4 @@ coverage
.DS_Store

dist
docs
15 changes: 15 additions & 0 deletions .travis.yml
@@ -1,8 +1,23 @@
language: node_js
node_js:
- '10'

services:
- redis-server

after_success:
- npm run lint
- npm run coveralls

deploy:
provider: pages
local_dir: docs
skip_cleanup: true
github_token: $GITHUB_TOKEN
keep_history: true
on:
branch: master

cache:
directories:
- node_modules
Empty file removed docs/.nojekyll
Empty file.

0 comments on commit 129ad53

Please sign in to comment.