Skip to content

Commit

Permalink
chore: add tsconfig.eslint.json
Browse files Browse the repository at this point in the history
  • Loading branch information
luokuning committed Sep 8, 2021
1 parent db5f2bf commit ffe2cfe
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
root: true,
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json',
project: './tsconfig.eslint.json',
},
plugins: ['@typescript-eslint'],
extends: ['airbnb', 'airbnb-typescript', 'prettier'],
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
<h3 align="center">Card like rotation Value built on top of device orientation event for react-native</h3>

<p align="center">
<img alt="sementic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" />
<img alt="npm latest version" src="https://img.shields.io/npm/v/usedeviceorientationmotion/latest.svg" />
<img alt="travis build" src="https://img.shields.io/travis/luokuning/usedeviceorientationmotion/main" />
<img alt="RPs welcome" src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" />
<img alt="sementic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" />
<br />
<br />
<br />
Expand Down
8 changes: 8 additions & 0 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"extends": "./tsconfig.json",
"include": [
"src",
"tests",
"jest.config.ts"
]
}
8 changes: 3 additions & 5 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
"target": "ES2015",
"module": "ES2015",
"moduleResolution": "Node",
"esModuleInterop": true
"esModuleInterop": true,
"skipLibCheck": true
},
"include": [
"src",
"tests",
"jest.config.ts",
"fakeModule"
"src"
]
}

0 comments on commit ffe2cfe

Please sign in to comment.