Skip to content

Commit

Permalink
Reduce ESLint configs to minimum required environments
Browse files Browse the repository at this point in the history
  • Loading branch information
bkimminich committed Jan 4, 2021
1 parent 8d76759 commit 1569981
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
11 changes: 6 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
/*
* Copyright (c) 2014-2021 Bjoern Kimminich.
* SPDX-License-Identifier: MIT
*/

module.exports = {
extends: 'standard',
env: {
browser: true,
commonjs: true,
es6: true,
jasmine: true,
mocha: true,
protractor: true
},
extends: [
'standard'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
Expand Down
6 changes: 1 addition & 5 deletions frontend/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
*/

module.exports = {
root: true,
env: {
browser: true,
node: true
},
extends: 'standard-with-typescript',
root: true,
parserOptions: {
project: './src/tsconfig.*.json',
sourceType: 'module'
Expand Down

0 comments on commit 1569981

Please sign in to comment.