Skip to content

Commit

Permalink
Fix ESLint configuration (#1012)
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala authored Nov 21, 2024
1 parent 237ad76 commit 9e8d0c5
Show file tree
Hide file tree
Showing 3 changed files with 737 additions and 621 deletions.
3 changes: 3 additions & 0 deletions config/webpack/development.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
const ESLintPlugin = require('eslint-webpack-plugin')
const StyleLintPlugin = require('stylelint-webpack-plugin')
const { resolve } = require('path')

module.exports = {
envSpecificConfig: {
plugins: [
new ESLintPlugin({
overrideConfigFile: resolve(__dirname, '../../eslint.config.mjs'),
configType: 'flat',
failOnError: false,
files: 'app/javascript/**/*.js',
exclude: 'app/javascript/**/vendor/*.js'
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"@babel/plugin-transform-runtime": "^7.25.9",
"@babel/preset-env": "^7.26.0",
"@babel/runtime": "^7.26.0",
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/free-regular-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/fontawesome-svg-core": "^6.7.1",
"@fortawesome/free-brands-svg-icons": "^6.7.1",
"@fortawesome/free-regular-svg-icons": "^6.7.1",
"@fortawesome/free-solid-svg-icons": "^6.7.1",
"@hotwired/turbo-rails": "^8.0.12",
"@popperjs/core": "^2.11.8",
"@rails/actioncable": "7.2.200",
Expand All @@ -28,11 +28,11 @@
"css-minimizer-webpack-plugin": "^7.0.0",
"exports-loader": "^5.0.0",
"mini-css-extract-plugin": "^2.9.2",
"postcss": "^8.4.47",
"postcss": "^8.4.49",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-import": "^16.1.0",
"postcss-loader": "^8.1.1",
"postcss-preset-env": "^10.0.9",
"postcss-preset-env": "^10.1.1",
"resolve-url-loader": "^5.0.0",
"sass": "1.77.6",
"sass-loader": "^16.0.3",
Expand All @@ -48,14 +48,14 @@
"@babel/eslint-parser": "^7.25.9",
"@types/express": "^5.0.0",
"@webpack-cli/serve": "^2.0.5",
"eslint": "^9.14.0",
"eslint": "^9.15.0",
"eslint-plugin-import": "^2.31.0",
"eslint-webpack-plugin": "^4.2.0",
"neostandard": "^0.11.7",
"neostandard": "^0.11.8",
"stylelint": "^16.10.0",
"stylelint-config-twbs-bootstrap": "^15.1.0",
"stylelint-order": "^6.0.4",
"stylelint-scss": "^6.8.1",
"stylelint-scss": "^6.10.0",
"stylelint-webpack-plugin": "^5.0.1",
"webpack-dev-server": "^5.1.0"
},
Expand Down
Loading

0 comments on commit 9e8d0c5

Please sign in to comment.