Skip to content

Commit

Permalink
Drop support for Polymer 2 applications (#43)
Browse files Browse the repository at this point in the history
* Drop support for Polymer 2 applications and Node 12

As FCNC has migrated their application to use the lit-html config, we don't need to support anymore this deprecated configuration.
  • Loading branch information
benjaminrancourt committed Oct 12, 2021
1 parent 1ac8e28 commit d00b0ea
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 54 deletions.
14 changes: 4 additions & 10 deletions README.md
Expand Up @@ -39,7 +39,7 @@ module.exports = {
```json
{
"scripts": {
"format": "eslint . --ext js,json,md --fix",
"format": "npm run lint -- --fix",
"lint": "eslint . --ext js,json,md"
}
}
Expand All @@ -54,11 +54,8 @@ module.exports = {
// Extends the UdeS ESLint config for lit-html application
extends: 'eslint-config-udes/lit-html',

// Extends the UdeS ESLint config for Polymer 2 application
extends: 'eslint-config-udes/polymer-2',

// Extends the UdeS ESLint config for Node.js 12 application
extends: 'eslint-config-udes/node-12',
// Extends the UdeS ESLint config for Node.js 16 application
extends: 'eslint-config-udes/node-16',

// Extends the UdeS ESLint config for React application and element
extends: 'eslint-config-udes/react',
Expand All @@ -67,15 +64,12 @@ module.exports = {

#### Installation

As these extends use other plugins, you may need to install additionnal devDependencies:
As these configurations use other plugins, you may need to install additional devDependencies:

```bash
# lit-html
npm install babel-eslint eslint-plugin-html eslint-plugin-lit --save-dev

# Polymer 2
npm install eslint-plugin-html --save-dev

# React
npm install eslint-plugin-react --save-dev
```
Expand Down
19 changes: 0 additions & 19 deletions node-12.js

This file was deleted.

5 changes: 2 additions & 3 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "eslint-config-udes",
"version": "1.1.0",
"version": "1.2.0",
"description": "ESLint shareable config for the UdeS JavaScript style guide",
"keywords": [
"check",
Expand Down Expand Up @@ -37,9 +37,8 @@
"files": [
"index.js",
"lit-html.js",
"node-12.js",
"node-14.js",
"polymer-2.js",
"node-16.js",
"react.js"
],
"scripts": {
Expand Down
22 changes: 0 additions & 22 deletions polymer-2.js

This file was deleted.

0 comments on commit d00b0ea

Please sign in to comment.