Skip to content

Commit

Permalink
Chores: Add engines compatibility check (#121)
Browse files Browse the repository at this point in the history
* Chores: Add engines compatibility check

* Revert
  • Loading branch information
ota-meshi authored Aug 14, 2021
1 parent 42e4f92 commit 36f1766
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
extends:
- plugin:@mysticatea/es2015
- plugin:@mysticatea/+node
- plugin:node-dependencies/recommended
- plugin:jsonc/recommended-with-jsonc
globals: {
root: "off"
}
Expand All @@ -19,6 +21,9 @@ overrides:
- error
- allowModules:
- estree
- files: "package.json"
rules:
'@mysticatea/prettier': off

settings:
node:
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
"cross-spawn": "^6.0.5",
"dts-bundle": "^0.7.3",
"eslint": "^7.0.0",
"eslint-plugin-jsonc": "^1.4.0",
"eslint-plugin-node-dependencies": "^0.5.0",
"fs-extra": "^7.0.1",
"jsonc-eslint-parser": "^0.6.0",
"mocha": "^6.1.4",
Expand All @@ -60,7 +62,7 @@
"clean": "rimraf .nyc_output .temp coverage index.*",
"codecov": "codecov",
"coverage": "opener ./coverage/lcov-report/index.html",
"lint": "eslint src test --ext .js,.ts",
"lint": "eslint src test package.json --ext .js,.ts",
"setup": "git submodule update --init && cd test/fixtures/eslint && npm install",
"pretest": "run-s build lint",
"test": "npm run -s test:mocha",
Expand Down
8 changes: 2 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"inlineSources": true,
"lib": [
"es2015"
],
"lib": ["es2015"],
"module": "commonjs",
"moduleResolution": "node",
"newLine": "LF",
Expand All @@ -37,7 +35,5 @@
"strictNullChecks": true,
"target": "es2015"
},
"include": [
"src/**/*.ts"
]
"include": ["src/**/*.ts"]
}

0 comments on commit 36f1766

Please sign in to comment.