File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed
Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1+ /* eslint no-unused-vars: ["error", { "args": "none" }] */
2+
13module . exports = {
24 /** Filter out non-major version updates.
35 @param {string } packageName The name of the dependency.
Original file line number Diff line number Diff line change 11module . exports = {
22 ignorePatterns : [ "!/tools/linters/.eslintrc.yml" , "!/tools/linters/.stylelintrc.json" ] ,
3+ settings : {
4+ react : {
5+ version : "detect"
6+ } ,
7+ } ,
38 parserOptions : {
49 ecmaVersion : 2015 ,
510 sourceType : "module"
@@ -9,6 +14,9 @@ module.exports = {
914 files : [ "*.json" ] ,
1015 extends : [ "plugin:jsonc/recommended-with-json" ] ,
1116 parser : "jsonc-eslint-parser" ,
17+ rules : {
18+ "no-unused-vars" : "off"
19+ } ,
1220 }
1321 ]
1422} ;
Original file line number Diff line number Diff line change 11const path = require ( 'path' ) ;
2- const webpack = require ( 'webpack' ) ;
32const MiniCssExtractPlugin = require ( 'mini-css-extract-plugin' ) ;
43const CopyWebpackPlugin = require ( 'copy-webpack-plugin' ) ;
54
@@ -12,9 +11,9 @@ const localConfig = {
1211
1312module . exports = environment => {
1413 const env = typeof environment !== 'undefined' ? environment : { } ;
15- const primaryBackground = env . hasOwnProperty ( 'primaryBackground' ) ? env . primaryBackground : '#b8002c' ;
16- const transitionBackground = env . hasOwnProperty ( 'transitionBackground' ) ? env . transitionBackground : '#db0100' ;
17- const secondaryBackground = env . hasOwnProperty ( 'secondaryBackground' ) ? env . secondaryBackground : '#e8410c' ;
14+ const primaryBackground = Object . prototype . hasOwnProperty . call ( env , 'primaryBackground' ) ? env . primaryBackground : '#b8002c' ;
15+ const transitionBackground = Object . prototype . hasOwnProperty . call ( env , 'transitionBackground' ) ? env . transitionBackground : '#db0100' ;
16+ const secondaryBackground = Object . prototype . hasOwnProperty . call ( env , 'secondaryBackground' ) ? env . secondaryBackground : '#e8410c' ;
1817 return {
1918 entry : {
2019 bundle : './resources/js/bundle/main' ,
@@ -77,7 +76,7 @@ module.exports = environment => {
7776 new CopyWebpackPlugin ( {
7877 patterns : [
7978 {
80- from : path . resolve ( __dirname + '/node_modules/\ @fortawesome/fontawesome-free/webfonts/fa-solid*' ) ,
79+ from : path . resolve ( __dirname + '/node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid*' ) ,
8180 to : 'fonts/[name][ext]'
8281 }
8382 ]
You can’t perform that action at this time.
0 commit comments