aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2017-12-14 18:54:00 +0100
committerNoah Loomans <noahloomans@gmail.com>2017-12-14 18:54:00 +0100
commit569b2969d530f08e55798c5cb3079948c7c037cd (patch)
treef90c5c524f1d3536a1f6ab665a7350739f590b7a
parent8e9d5e98793f7594a8a1a1b5956163eca6795164 (diff)
Use .js extention instead of .jsx
-rw-r--r--.eslintrc.js3
-rw-r--r--src/client/react/LandingPage.js (renamed from src/client/react/LandingPage.jsx)0
-rw-r--r--src/client/react/components/container/Results.js (renamed from src/client/react/components/container/Results.jsx)0
-rw-r--r--src/client/react/components/container/Search.js (renamed from src/client/react/components/container/Search.jsx)0
-rw-r--r--src/client/react/components/presentational/IconFromUserType.js (renamed from src/client/react/components/presentational/IconFromUserType.jsx)0
-rw-r--r--src/client/react/components/presentational/Result.js (renamed from src/client/react/components/presentational/Result.jsx)0
-rw-r--r--src/client/react/index.js (renamed from src/client/react/index.jsx)0
-rw-r--r--webpack.config.js2
8 files changed, 4 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 20a47e0..b418fd4 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -5,4 +5,7 @@ module.exports = {
"node": true,
"jest": true,
},
+ "rules": {
+ "react/jsx-filename-extension": [1, { "extensions": [".js"] }]
+ }
};
diff --git a/src/client/react/LandingPage.jsx b/src/client/react/LandingPage.js
index d79826e..d79826e 100644
--- a/src/client/react/LandingPage.jsx
+++ b/src/client/react/LandingPage.js
diff --git a/src/client/react/components/container/Results.jsx b/src/client/react/components/container/Results.js
index 911ea27..911ea27 100644
--- a/src/client/react/components/container/Results.jsx
+++ b/src/client/react/components/container/Results.js
diff --git a/src/client/react/components/container/Search.jsx b/src/client/react/components/container/Search.js
index e49e6a7..e49e6a7 100644
--- a/src/client/react/components/container/Search.jsx
+++ b/src/client/react/components/container/Search.js
diff --git a/src/client/react/components/presentational/IconFromUserType.jsx b/src/client/react/components/presentational/IconFromUserType.js
index ee0e04b..ee0e04b 100644
--- a/src/client/react/components/presentational/IconFromUserType.jsx
+++ b/src/client/react/components/presentational/IconFromUserType.js
diff --git a/src/client/react/components/presentational/Result.jsx b/src/client/react/components/presentational/Result.js
index 0b9e024..0b9e024 100644
--- a/src/client/react/components/presentational/Result.jsx
+++ b/src/client/react/components/presentational/Result.js
diff --git a/src/client/react/index.jsx b/src/client/react/index.js
index 5279bf4..5279bf4 100644
--- a/src/client/react/index.jsx
+++ b/src/client/react/index.js
diff --git a/webpack.config.js b/webpack.config.js
index 6db6543..061f0d1 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -2,7 +2,7 @@ const path = require('path');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const js = {
- entry: './src/client/react/index.jsx',
+ entry: './src/client/react/index.js',
output: {
path: path.resolve(__dirname, 'src/client/static'),
filename: 'bundle.js',