Skip to content

Commit

Permalink
sync with aem-boilerplate-xwalk (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed May 27, 2024
1 parent 4575db5 commit 2368b3a
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
module.exports = {
root: true,
extends: 'airbnb-base',
plugins: [
'json',
],
env: {
browser: true,
},
Expand All @@ -11,6 +14,7 @@ module.exports = {
requireConfigFile: false,
},
rules: {
'json/*': 'error',
'import/extensions': ['error', { js: 'always' }], // require js file extensions in imports
'linebreak-style': ['error', 'unix'], // enforce unix linebreaks
'no-param-reassign': [2, { props: false }], // allow modifying properties of param
Expand Down
57 changes: 57 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"test": "wtr \"./test/**/*.test.js\" --node-resolve --port=2000 --coverage",
"test:watch": "npm test -- --watch",
"lint:js": "eslint .",
"lint:js": "eslint . --ext .json,.js",
"lint:css": "stylelint blocks/**/*.css styles/*.css",
"lint": "npm run lint:js && npm run lint:css"
},
Expand All @@ -30,6 +30,7 @@
"eslint": "8.57.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-json": "4.0.0",
"sinon": "18.0.0",
"stylelint": "16.6.0",
"stylelint-config-standard": "36.0.0"
Expand Down

0 comments on commit 2368b3a

Please sign in to comment.