Skip to content

Commit 6c58c91

Browse files
authored
chore: use file:// to dogfood (#231)
the devdep eslint-plugin-self is no longer needed.
1 parent 7cd8f16 commit 6c58c91

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.eslintrc.js

+3-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
module.exports = {
44
root: true,
5-
plugins: ['node'],
65
extends: [
76
'not-an-aardvark/node',
87
'plugin:unicorn/recommended',
@@ -31,11 +30,10 @@ module.exports = {
3130
{
3231
// Apply eslint-plugin rules to our own rules/tests (but not docs).
3332
files: ['lib/**/*.js', 'tests/**/*.js'],
34-
plugins: ['self'],
35-
extends: ['plugin:self/all'],
33+
extends: ['plugin:eslint-plugin/all'],
3634
rules: {
37-
'self/report-message-format': ['error', '^[^a-z].*.$'],
38-
'self/require-meta-docs-url': [
35+
'eslint-plugin/report-message-format': ['error', '^[^a-z].*.$'],
36+
'eslint-plugin/require-meta-docs-url': [
3937
'error',
4038
{
4139
pattern:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
"dirty-chai": "^2.0.1",
5050
"eslint": "^8.0.0",
5151
"eslint-config-not-an-aardvark": "^2.1.0",
52+
"eslint-plugin-eslint-plugin": "file:./",
5253
"eslint-plugin-markdown": "^2.0.1",
5354
"eslint-plugin-node": "^11.1.0",
54-
"eslint-plugin-self": "^1.2.1",
5555
"eslint-plugin-unicorn": "^37.0.0",
5656
"eslint-scope": "^6.0.0",
5757
"espree": "^9.0.0",

0 commit comments

Comments
 (0)