Skip to content

Commit

Permalink
chore: use file:// to dogfood (#231)
Browse files Browse the repository at this point in the history
the devdep eslint-plugin-self is no longer needed.
  • Loading branch information
aladdin-add committed Nov 30, 2021
1 parent 7cd8f16 commit 6c58c91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

module.exports = {
root: true,
plugins: ['node'],
extends: [
'not-an-aardvark/node',
'plugin:unicorn/recommended',
Expand Down Expand Up @@ -31,11 +30,10 @@ module.exports = {
{
// Apply eslint-plugin rules to our own rules/tests (but not docs).
files: ['lib/**/*.js', 'tests/**/*.js'],
plugins: ['self'],
extends: ['plugin:self/all'],
extends: ['plugin:eslint-plugin/all'],
rules: {
'self/report-message-format': ['error', '^[^a-z].*.$'],
'self/require-meta-docs-url': [
'eslint-plugin/report-message-format': ['error', '^[^a-z].*.$'],
'eslint-plugin/require-meta-docs-url': [
'error',
{
pattern:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@
"dirty-chai": "^2.0.1",
"eslint": "^8.0.0",
"eslint-config-not-an-aardvark": "^2.1.0",
"eslint-plugin-eslint-plugin": "file:./",
"eslint-plugin-markdown": "^2.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-self": "^1.2.1",
"eslint-plugin-unicorn": "^37.0.0",
"eslint-scope": "^6.0.0",
"espree": "^9.0.0",
Expand Down

0 comments on commit 6c58c91

Please sign in to comment.