Skip to content

Commit f56dcbc

Browse files
small config changes
1 parent d5af960 commit f56dcbc

File tree

3 files changed

+7
-14
lines changed

3 files changed

+7
-14
lines changed

.eslintrc.json

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,13 @@
11
{
2-
"extends": [
3-
"plugin:react/recommended",
4-
"airbnb-base"
5-
],
2+
"extends": ["plugin:react/recommended", "airbnb-base"],
63
"parserOptions": {
74
"ecmaFeatures": {
85
"jsx": true
96
},
107
"ecmaVersion": 2018,
118
"sourceType": "module"
129
},
13-
"plugins": [
14-
"import",
15-
"react",
16-
"jest",
17-
"jsx-a11y",
18-
"babel"
19-
],
10+
"plugins": ["import", "react", "jest", "jsx-a11y", "babel"],
2011
"parser": "babel-eslint",
2112
"env": {
2213
"browser": true,
@@ -25,6 +16,7 @@
2516
"jest": true
2617
},
2718
"rules": {
28-
"class-methods-use-this": "off"
19+
"class-methods-use-this": "off",
20+
"linebreak-style": 0
2921
}
30-
}
22+
}

src/reducers/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { combineReducers } from 'redux';
22

3-
import componentReducer from './componentReducer';
3+
import componentReducer from './componentReducer.js';
44

55
const reducers = combineReducers({
66
workspace: componentReducer,

webpack.config.development.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ module.exports = {
2222
module: {
2323
rules: [
2424
{ test: /\.tsx?$/, exclude: /node-modules/, loader: 'babel-loader' },
25+
{ test: /\.ts?$/, exclude: /node-modules/, loader: 'babel-loader' },
2526
{
2627
test: /\.(js|jsx)$/,
2728
exclude: /node_modules/,

0 commit comments

Comments
 (0)