Simplified ESLint config

This commit is contained in:
Tim Schaub
2021-10-12 08:49:33 -06:00
parent 5293efc6e2
commit 9224678627
6 changed files with 641 additions and 1261 deletions

View File

@@ -1,9 +0,0 @@
{
"env": {
"node": true,
"es6": true
},
"parserOptions": {
"ecmaVersion": 2017
}
}

1872
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -52,7 +52,6 @@
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.6.4", "@babel/core": "^7.6.4",
"@babel/eslint-parser": "^7.13.14",
"@babel/preset-env": "^7.4.4", "@babel/preset-env": "^7.4.4",
"@openlayers/eslint-plugin": "^4.0.0", "@openlayers/eslint-plugin": "^4.0.0",
"@rollup/plugin-babel": "^5.3.0", "@rollup/plugin-babel": "^5.3.0",
@@ -69,8 +68,8 @@
"coverage-istanbul-loader": "^3.0.5", "coverage-istanbul-loader": "^3.0.5",
"coveralls": "3.1.1", "coveralls": "3.1.1",
"es-main": "^1.0.2", "es-main": "^1.0.2",
"eslint": "^7.2.0", "eslint": "^7.32.0",
"eslint-config-openlayers": "^15.0.0", "eslint-config-openlayers": "^16.0.1",
"expect.js": "0.3.1", "expect.js": "0.3.1",
"express": "^4.17.1", "express": "^4.17.1",
"front-matter": "^4.0.0", "front-matter": "^4.0.0",
@@ -117,10 +116,6 @@
}, },
"eslintConfig": { "eslintConfig": {
"extends": "openlayers", "extends": "openlayers",
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
},
"plugins": [ "plugins": [
"@openlayers" "@openlayers"
], ],

View File

@@ -1,8 +1,5 @@
{ {
"env": { "env": {
"node": true "node": true
},
"parserOptions": {
"ecmaVersion": 2017
} }
} }

View File

@@ -1,8 +1,5 @@
{ {
"env": { "env": {
"mocha": true "mocha": true
},
"parserOptions": {
"ecmaVersion": 2017
} }
} }

View File

@@ -1,10 +1,4 @@
{ {
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 2017
},
"globals": { "globals": {
"render": false "render": false
} }