Browse Source

Updated ESLint configuration files

- added "root" option to main config
- moved "env.commonjs" to root
master
Futago-za Ryuu 4 years ago
parent
commit
55bcaa46ef
  1. 4
      .eslintrc.json
  2. 5
      lib/.eslintrc.json
  3. 1
      test/.eslintrc.json

4
.eslintrc.json

@ -1,5 +1,9 @@
{
"extends": "dmajda",
"env": {
"commonjs": true
},
"root": true,
"rules": {
"linebreak-style": 0
}

5
lib/.eslintrc.json

@ -1,5 +0,0 @@
{
"env": {
"commonjs": true
}
}

1
test/.eslintrc.json

@ -1,6 +1,5 @@
{
"env": {
"commonjs": true,
"mocha": true
}
}
Loading…
Cancel
Save