Skip to content

Commit

Permalink
Remove any references used by build environment approach, ignore new …
Browse files Browse the repository at this point in the history
…folder from eslint
  • Loading branch information
faival committed Mar 8, 2018
1 parent dadfe85 commit 1e38017
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ dist
node_modules
coverage
app/build
app/build-testnet
1 change: 0 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"beforeEach": true,
"afterEach": true,
"ipc": true,
"DEFAULT_NETWORK": true,
"PRODUCTION": true,
"TEST": true
},
Expand Down
5 changes: 1 addition & 4 deletions config/webpack.config.react.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable import/no-extraneous-dependencies */
const { resolve } = require('path');
const { ContextReplacementPlugin, DefinePlugin } = require('webpack');
const { ContextReplacementPlugin } = require('webpack');
const StyleLintPlugin = require('stylelint-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const reactToolboxVariables = require('./reactToolbox.config');
Expand Down Expand Up @@ -35,9 +35,6 @@ module.exports = {
historyApiFallback: true,
},
plugins: [
new DefinePlugin({
DEFAULT_NETWORK: JSON.stringify('mainnet'),
}),
new StyleLintPlugin({
context: `${resolve(__dirname, '../src')}/`,
files: '**/*.css',
Expand Down
2 changes: 1 addition & 1 deletion src/constants/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const env = {
production: PRODUCTION,
test: TEST,
development: (!PRODUCTION && !TEST),
defaultNetwork: DEFAULT_NETWORK,
defaultNetwork: 'mainnet',
};

export default env;

0 comments on commit 1e38017

Please sign in to comment.