Skip to content

Commit

Permalink
jslint to support mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
kariminf committed May 30, 2021
1 parent ba8fff6 commit cb8da6b
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ ratings:
exclude_paths:
- "test/"
- "dist/"
- "design/"
- "assets/"
- "node_modules/"
8 changes: 8 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,13 @@
"semi": ["error", "always"],
"no-console": "off",
"no-unused-vars": ["error", { "vars": "all", "argsIgnorePattern": "^_"}]
},
"settings": {
"import/extensions": [".mjs", ".js"],
"import/resolver": {
"node": {
"extensions": [".mjs", ".js"]
}
}
}
}
7 changes: 0 additions & 7 deletions .inch.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"all": true,
"include": [
"src/"
],
"exclude": []
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "dist/jslingua.js",
"devDependencies": {
"codecov": "^3.6.5",
"eslint": "^4.19.1",
"eslint": "^7.27.0",
"expect.js": "^0.3.1",
"http-server": "^0.12.3",
"jshint": "^2.12.0",
Expand Down

0 comments on commit cb8da6b

Please sign in to comment.