Skip to content

Commit

Permalink
Remove JSON files from being linted by ESlint, since it's not its pur… (
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh authored Sep 18, 2023
1 parent 74f24cd commit 1d8e79e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
"start": "razzle start",
"postinstall": "make omelette && make patches",
"build": "razzle build --noninteractive",
"lint": "./node_modules/eslint/bin/eslint.js --max-warnings=0 'src/**/*.{js,jsx,ts,tsx,json}'",
"lint:fix": "./node_modules/eslint/bin/eslint.js --fix 'src/**/*.{js,jsx,ts,tsx,json}'",
"lint:ci": "./node_modules/eslint/bin/eslint.js --max-warnings=0 -f checkstyle 'src/**/*.{js,jsx,ts,tsx,json}' > eslint.xml",
"lint": "./node_modules/eslint/bin/eslint.js --max-warnings=0 'src/**/*.{js,jsx,ts,tsx}'",
"lint:fix": "./node_modules/eslint/bin/eslint.js --fix 'src/**/*.{js,jsx,ts,tsx}'",
"lint:ci": "./node_modules/eslint/bin/eslint.js --max-warnings=0 -f checkstyle 'src/**/*.{js,jsx,ts,tsx}' > eslint.xml",
"prettier": "./node_modules/.bin/prettier --single-quote --check 'src/**/*.{js,jsx,ts,tsx,css,scss}'",
"prettier:fix": "./node_modules/.bin/prettier --single-quote --write 'src/**/*.{js,jsx,ts,tsx,css,scss}'",
"prettier:ci": "./node_modules/.bin/prettier --single-quote --check 'src/**/*.{js,jsx,ts,tsx,css,scss}'",
Expand Down
1 change: 1 addition & 0 deletions packages/generator-volto/news/5194.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove JSON files from being linted by ESlint, since it's not its purpose @sneridagh

0 comments on commit 1d8e79e

Please sign in to comment.