Skip to content

Commit

Permalink
Fix lint config
Browse files Browse the repository at this point in the history
  • Loading branch information
DABH committed Jul 10, 2023
1 parent 5e66571 commit 46f21e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .eslintrc
@@ -1,7 +1,10 @@
{
"extends": "populist",
"extends": "@dabh/eslint-config-populist",
"rules": {
"one-var": ["error", { var: "never", let: "never", const: "never" }],
"one-var": ["error", { "var": "never", "let": "never", "const": "never" }],
"strict": 0
}
},
"parserOptions": {
"ecmaVersion": 2022,
},
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"description": "Definitions of levels for logging purposes & shareable Symbol constants.",
"main": "index.js",
"scripts": {
"lint": "populist config/*.js index.js",
"lint": "eslint config/*.js index.js --resolve-plugins-relative-to ./node_modules/@dabh/eslint-config-populist",
"pretest": "npm run lint",
"test": "nyc mocha test.js"
},
Expand Down

0 comments on commit 46f21e4

Please sign in to comment.