Skip to content
This repository was archived by the owner on Sep 6, 2022. It is now read-only.

Fixes&maintenance #63

Merged
merged 16 commits into from
Mar 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
158 changes: 11 additions & 147 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"projectName": "react-boilerplate",
"projectOwner": "react-boilerplate",
"projectName": "react-boilerplate-typescript",
"projectOwner": "react-boilerplate-typescript",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
Expand All @@ -10,10 +10,10 @@
"commit": true,
"contributors": [
{
"login": "mxstbr",
"name": "Max Stoiber",
"avatar_url": "https://avatars0.githubusercontent.com/u/7525670?v=4",
"profile": "https://mxstbr.com",
"login": "Can-Sahin",
"name": "Can Sahin",
"avatar_url": "https://avatars2.githubusercontent.com/u/33245689?v=4",
"profile": "https://github.com/Can-Sahin",
"contributions": [
"code",
"doc",
Expand All @@ -23,152 +23,16 @@
]
},
{
"login": "julienben",
"name": "Julien Benchetrit",
"avatar_url": "https://avatars2.githubusercontent.com/u/8948127?v=4",
"profile": "https://julien.engineering/",
"contributions": [
"code",
"question",
"doc",
"review",
"maintenance"
]
},
{
"login": "gretzky",
"name": "Sara Federico",
"avatar_url": "https://avatars1.githubusercontent.com/u/15176096?v=4",
"profile": "http://sarafederi.co",
"contributions": [
"code",
"review",
"question",
"doc",
"maintenance"
]
},
{
"login": "justingreenberg",
"name": "Justin Greenberg",
"avatar_url": "https://avatars1.githubusercontent.com/u/1539088?v=4",
"profile": "https://justingreenberg.com",
"login": "GrayStrider",
"name": "Gray Strider",
"avatar_url": "https://avatars0.githubusercontent.com/u/43771776?s=460&v=4",
"profile": "https://github.com/GrayStrider",
"contributions": [
"code",
"tool",
"review"
]
},
{
"login": "jwinn",
"name": "Jon Winn",
"avatar_url": "https://avatars3.githubusercontent.com/u/891726?v=4",
"profile": "https://github.com/jwinn",
"contributions": [
"code",
"review"
]
},
{
"login": "Mensae",
"name": "Johan Meester",
"avatar_url": "https://avatars2.githubusercontent.com/u/474743?v=4",
"profile": "https://meester-johan.info/",
"contributions": [
"code",
"test",
"doc"
]
},
{
"login": "Dattaya",
"name": "Yaroslav Kiliba",
"avatar_url": "https://avatars3.githubusercontent.com/u/387256?v=4",
"profile": "https://github.com/Dattaya",
"contributions": [
"code"
]
},
{
"login": "gihrig",
"name": "Glen Ihrig",
"avatar_url": "https://avatars2.githubusercontent.com/u/1481063?v=4",
"profile": "https://github.com/gihrig",
"contributions": [
"code"
]
},
{
"login": "somus",
"name": "Somasundaram Ayyappan",
"avatar_url": "https://avatars3.githubusercontent.com/u/1802828?v=4",
"profile": "https://github.com/somus",
"contributions": [
"code"
]
},
{
"login": "oliverturner",
"name": "Oliver Turner",
"avatar_url": "https://avatars0.githubusercontent.com/u/21795?v=4",
"profile": "https://www.codedsignal.co.uk/",
"contributions": [
"code"
]
},
{
"login": "samit4me",
"name": "Samuel Sharpe",
"avatar_url": "https://avatars3.githubusercontent.com/u/3248531?v=4",
"profile": "https://github.com/samit4me",
"contributions": [
"code"
]
},
{
"login": "KarandikarMihir",
"name": "Mihir Karandikar",
"avatar_url": "https://avatars3.githubusercontent.com/u/17466938?v=4",
"profile": "https://karandikarmihir.github.io/",
"contributions": [
"code"
]
},
{
"login": "v",
"name": "Vaibhav Verma",
"avatar_url": "https://avatars2.githubusercontent.com/u/627846?v=4",
"profile": "http://www.vverma.net",
"contributions": [
"code"
]
},
{
"login": "sedubois",
"name": "Sébastien Dubois",
"avatar_url": "https://avatars1.githubusercontent.com/u/4217871?v=4",
"profile": "https://imagineclarity.com",
"contributions": [
"code"
]
},
{
"login": "chaintng",
"name": "Chainarong Tangsurakit",
"avatar_url": "https://avatars2.githubusercontent.com/u/2979072?v=4",
"profile": "https://www.chaintng.com",
"contributions": [
"code"
]
},
{
"login": "amilajack",
"name": "Amila Welihinda",
"avatar_url": "https://avatars1.githubusercontent.com/u/6374832?v=4",
"profile": "https://amilajack.com",
"contributions": [
"code"
]
},
{
"login": "rajatkantinandi",
"name": "Rajat Kanti Nandi",
Expand Down
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ internals/scripts
internals/generators
internals/templates
server/
**/types.d.ts
*.html
node_modules
coverage
Expand Down
28 changes: 20 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,19 @@ const prettierOptions = JSON.parse(

module.exports = {
parser: '@typescript-eslint/parser',
extends: ['airbnb-typescript', 'prettier', 'prettier/react'],
plugins: ['prettier', 'redux-saga', 'react', 'react-hooks', 'jsx-a11y', '@typescript-eslint'],
extends: [
'airbnb-typescript',
'prettier',
'prettier/react',
],
plugins: [
'prettier',
'redux-saga',
'react',
'react-hooks',
'jsx-a11y',
'@typescript-eslint',
],
env: {
jest: true,
browser: true,
Expand All @@ -25,11 +36,11 @@ module.exports = {
},
rules: {
'jsx-no-lambda': 0,
'semi': [2, 'always'],
semi: [2, 'always'],
'@typescript-eslint/interface-name-prefix': 0,
'@typescript-eslint/no-empty-interface': 0,
'object-shorthand': [0, 'never'],
'quotes': [2, 'single'],
quotes: [2, 'single'],
'@typescript-eslint/no-var-requires': 0,
'member-ordering': 0,
'object-literal-sort-keys': 0,
Expand Down Expand Up @@ -57,7 +68,7 @@ module.exports = {
'import/no-dynamic-require': 0,
'import/no-extraneous-dependencies': 0,
'import/no-named-as-default': 0,
'import/no-unresolved': 2,
'import/no-unresolved': [2, { caseSensitive: false }], // ts already checks case sensitive imports
'import/no-webpack-loader-syntax': 0,
'import/prefer-default-export': 0,
'import/no-cycle': 1,
Expand Down Expand Up @@ -116,10 +127,11 @@ module.exports = {
webpack: {
config: './internals/webpack/webpack.prod.babel.js',
},
'typescript': {
'alwaysTryTypes': true, // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
'directory': './tsconfig.json',
typescript: {
alwaysTryTypes: true, // always try to resolve types under `<root>@types` directory even it doesn't contain any source code, like `@types/unist`
directory: './tsconfig.json',
},
},
'import/ignore': ['types'], // Weirdly eslint cannot resolve exports in types folder (try removing this later)
},
};
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
save-exact = true
Loading