Skip to content

Commit 8d01c4d

Browse files
committed
feat: remove drupal 8 support
Drupal 8 is no longer supported, so the rules will no longer be supported. BREAKING CHANGE: Projects using the 8.x plugin will no longer work.
1 parent cd08da8 commit 8d01c4d

File tree

4 files changed

+1
-67
lines changed

4 files changed

+1
-67
lines changed

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
[![Latest release](https://img.shields.io/github/v/release/coldfrontlabs/eslint-plugin-drupal-contrib?include_prereleases&style=for-the-badge)](https://github.com/coldfrontlabs/eslint-plugin-drupal-contrib/releases)
44
[![License](https://img.shields.io/github/license/coldfrontlabs/eslint-plugin-drupal-contrib?style=for-the-badge)](/LICENSE)
55
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=for-the-badge)](https://conventionalcommits.org)
6-
[![Drupal Version](https://img.shields.io/badge/Drupal-9.2.x,%208.9.x-blue?style=for-the-badge)](https://www.drupal.org/project/drupal)
6+
[![Drupal Version](https://img.shields.io/badge/Drupal-9.x-blue?style=for-the-badge)](https://www.drupal.org/project/drupal)
77

88
An ESLint plugin to match the [Drupal standard](https://www.drupal.org/node/1955232) for contrib modules and themes.
99

1010
Extends [eslint-config-airbnb](https://github.com/airbnb/javascript) and [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier)
1111

1212
For more detail on the rules implemented, see the config itself:
1313

14-
- [8.x](./src/8.x.js)
1514
- [9.x](./src/9.x.js)
1615

1716
## Installation
@@ -24,14 +23,6 @@ npm install eslint-plugin-drupal-contrib --save-dev
2423

2524
## Usage
2625

27-
### Drupal 8.x
28-
29-
Add the following to your eslint configuration file
30-
31-
```jsx
32-
extends: ["plugin:drupal-contrib/8.x"]
33-
```
34-
3526
### Drupal 9.x
3627

3728
Add the following to your eslint configuration file

index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
const core8x = require("./src/8.x");
21
const core9x = require("./src/9.x");
32

43
module.exports = {
54
configs: {
6-
"8.x": core8x,
75
"9.x": core9x,
86
},
97
};

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"main": "index.js",
66
"files": [
77
"index.js",
8-
"src/8.x.js",
98
"src/9.x.js"
109
],
1110
"scripts": {

src/8.x.js

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)