Skip to content

Commit

Permalink
revert eslint from js to json
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasmordecai committed Feb 2, 2023
1 parent 8be95b7 commit 5e097a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
15 changes: 7 additions & 8 deletions eslint.js → eslint.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,21 @@
module.exports = {
extends: [
{
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
parser: "@typescript-eslint/parser",
parserOptions: {
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": "ES2016"
},
plugins: [
"plugins": [
"@typescript-eslint"
],
rules: {
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": ["error", (process.platform === "win32" ? "windows" : "unix")],
"quotes": [
"error",
"single"
Expand All @@ -31,4 +30,4 @@ module.exports = {
"always"
]
}
};
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"test": "mocha --require ts-node/register --recursive \"test/**/*.spec.ts\"",
"test:watch": "mocha --require ts-node/register --recursive --watch --watch-files \"test/**/*.spec.ts\",\"src/**/*\" \"test/**/*.spec.ts\"",
"test:coverage": "nyc npm run test",
"lint": "eslint --ext .ts ./src/ --config eslint.js",
"lint": "eslint --ext .ts ./src/ --config eslint.json",
"lint:fix": "eslint --ext .ts ./src/ --config eslint.js --fix",
"circular-dep-check": "dpdm --exit-code circular:1 ./src/cli/index.ts"
},
Expand Down

1 comment on commit 5e097a3

@vercel
Copy link

@vercel vercel bot commented on 5e097a3 Feb 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.