Skip to content

Commit

Permalink
Add @denis-sokolov/eslint-plugin to lint
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-sokolov committed Sep 17, 2024
1 parent d5aabf6 commit ef948f3
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ module.exports = {
env: {
node: true,
},
extends: [],
plugins: [],
extends: ["plugin:@denis-sokolov/opinionated"],
plugins: ["@denis-sokolov"],
rules: {
// Importing a lot of implementation details from eslint package
"@denis-sokolov/no-imports-down": "off",

// Our tests include string samples of code
"no-template-curly-in-string": "off",
},
Expand Down
45 changes: 45 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"eslint-plugin-typescript-sort-keys": "^3.2.0"
},
"devDependencies": {
"@denis-sokolov/eslint-plugin": "^16.0.0",
"@types/node": "^18.19.44",
"ava": "^6.1.3",
"eslint": "^8.57.0",
Expand Down

0 comments on commit ef948f3

Please sign in to comment.