-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move common tsconfig
, eslintrc
into seperate packages
#1114
Changes from 10 commits
a8927ef
9151eed
ddb1c88
7c3a831
5d5e77e
93457e2
91ff270
300e72f
446689c
a6099c8
d0620bd
74f4119
4bbf9b9
56714d2
be2822b
dfd72f2
997bcc9
cead66a
e20dd81
25e9bfc
274e71b
d25bf19
fc50c26
88ae450
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ['bezier'], | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: './tsconfig.eslint.json', | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['./**/*'], | ||
rules: { | ||
'no-restricted-imports': 'off', | ||
'no-restricted-globals': 'off', | ||
}, | ||
}, | ||
], | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "tsconfig/eslint.json", | ||
"include": [ | ||
"src/**/*" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"dist" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "tsconfig/eslint.json", | ||
"include": [ | ||
"src/**/*" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"build" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
extends: [ | ||
"@channel.io/eslint-config" | ||
], | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"name": "eslint-config-bezier", | ||
"main": "index.js", | ||
"devDependencies": { | ||
"@channel.io/eslint-config": "^1.4.1", | ||
"@channel.io/eslint-plugin": "^1.2.3", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | ||
"babel-eslint": "^8.2.6", | ||
"eslint": "^7.32.0", | ||
"eslint-config-airbnb-typescript": "^12.3.1", | ||
"eslint-import-resolver-typescript": "^2.7.1", | ||
"eslint-import-resolver-webpack": "^0.10.1", | ||
"eslint-plugin-babel": "^5.3.1", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-jest": "^22.21.0", | ||
"eslint-plugin-jsx-a11y": "^6.7.1", | ||
"eslint-plugin-react": "^7.32.2", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"typescript": "^4.9.4" | ||
} | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👍 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"compilerOptions": { | ||
"types": ["@types/node"], | ||
"noEmit": true, | ||
"allowJs": true | ||
}, | ||
"include": [ | ||
".*.js", | ||
"packages/**/src/**/*", | ||
"packages/**/*.js", | ||
"packages/**/*.ts" | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "tsconfig" | ||
} | ||
Dogdriip marked this conversation as resolved.
Show resolved
Hide resolved
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 👀 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. https://json-schema.org/ turbo 예제에서도 사용하고 있어서 일단 사용해 보았습니다. 원래 VSCode에서 파일명이 |
||
"compilerOptions": { | ||
"resolveJsonModule": true, | ||
"esModuleInterop": true, | ||
"module": "CommonJS" | ||
"module": "commonjs" | ||
} | ||
} |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
package 이름이
eslint-config-bezier
라서bezier
로 로드되는거죠?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
넵 맞습니다!