Skip to content

Commit

Permalink
move to .eslintrc.json
Browse files Browse the repository at this point in the history
  • Loading branch information
bijij committed Mar 19, 2021
1 parent 69a58cb commit ffa659c
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 37 deletions.
37 changes: 0 additions & 37 deletions .eslintrc.js

This file was deleted.

39 changes: 39 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"globals": {
"chrome": false,
"browser": false
},
"plugins": [
"json"
],
"rules": {
"no-global-assign": [
"error"
],
"indent": [
"error",
4,
{
"SwitchCase": 1
}
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"always"
],
"eol-last": "error"
}
}

0 comments on commit ffa659c

Please sign in to comment.