Merge pull request #1321 from MrTimscampi/lint-improvements

Lint and build improvements
This commit is contained in:
Anthony Lavado 2020-05-30 08:16:20 -07:00 committed by GitHub
commit 6a119f267b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 93 additions and 987 deletions

View File

@ -50,6 +50,7 @@ module.exports = {
files: [
'./src/**/*.js'
],
parser: "babel-eslint",
env: {
node: false,
amd: true,

View File

@ -6,13 +6,15 @@
"license": "GPL-2.0-or-later",
"devDependencies": {
"@babel/core": "^7.9.6",
"@babel/plugin-proposal-class-properties": "^7.10.1",
"@babel/plugin-proposal-private-methods": "^7.10.1",
"@babel/plugin-transform-modules-amd": "^7.9.6",
"@babel/polyfill": "^7.8.7",
"@babel/preset-env": "^7.8.6",
"autoprefixer": "^9.8.0",
"babel-eslint": "^11.0.0-beta.2",
"babel-loader": "^8.0.6",
"browser-sync": "^2.26.7",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.4.2",
"cssnano": "^4.1.10",
@ -47,9 +49,6 @@
"stylelint-no-browser-hacks": "^1.2.1",
"stylelint-order": "^4.0.0",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-concat-plugin": "^3.0.0",
"webpack-dev-server": "^3.11.0",
"webpack-merge": "^4.2.2",
"webpack-stream": "^5.2.1"
},
@ -120,7 +119,9 @@
"src/scripts/settings/webSettings.js"
],
"plugins": [
"@babel/plugin-transform-modules-amd"
"@babel/plugin-transform-modules-amd",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-private-methods"
]
}
]

View File

@ -16,6 +16,7 @@ const Assets = [
module.exports = {
context: path.resolve(__dirname, 'src'),
entry: './bundle.js',
stats: 'errors-only',
resolve: {
modules: [
path.resolve(__dirname, 'node_modules')

1067
yarn.lock

File diff suppressed because it is too large Load Diff