Skip to content

Commit

Permalink
Merge pull request #279 from mimi89999/do_lint
Browse files Browse the repository at this point in the history
ci(lint): Enforce lint rules for rollup scripts
  • Loading branch information
MrWook authored Sep 30, 2024
2 parents b6045c1 + 750cc0d commit cb25ca2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,13 @@ module.exports = {
'import/no-relative-packages': 'off',
},
},
{
files: ['./scripts/rollup.config.mjs', './scripts/jsonPlugin.mjs'],
rules: {
'compat/compat': 'off',
'max-statements': 'off',
},
},
],
env: {
browser: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"prettier": "./prettier.js",
"scripts": {
"build": "lerna exec --parallel -- rollup -c ../../../scripts/rollup.config.mjs",
"lint": "eslint --ext .js,.ts --fix --cache .",
"lint": "eslint --ext .js,.mjs,.ts --fix --cache .",
"typecheck": "tsc --noEmit",
"test": "jest --coverage",
"changed": "lerna changed",
Expand Down

0 comments on commit cb25ca2

Please sign in to comment.