Skip to content

Commit

Permalink
just hard code the one file we're linting
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhao99 committed May 6, 2024
1 parent 7c7f9fd commit 35957b8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 729 deletions.
7 changes: 1 addition & 6 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ import globals from "globals";

export default [
{
files:["assets/**/*.js"],
ignores: [
"**/uswds.js",
"**/uswds.min.js",
"**/main.js"
],
languageOptions: {
ecmaVersion: 2020,
sourceType: "module",
Expand All @@ -20,4 +14,5 @@ export default [
frontmatter: frontmatter
},
}

];
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"uswds-update": "npm update uswds",
"uncss": "gulp uncss",
"watch": "gulp watch",
"eslint": "eslint ",
"eslint": "eslint 'assets/js/sr-touchpoints.js'",
"build": "gulp build-sass && bundle exec jekyll build --config _config.yml",
"build:dev": "gulp build-sass && bundle exec jekyll build --config _config.yml,_dev_config.yml",
"build:dev2": "gulp build-sass && bundle exec jekyll build --config _config.yml,_dev2_config.yml",
Expand Down
Loading

0 comments on commit 35957b8

Please sign in to comment.