odin-codespace/testing/.eslintrc.js
Smig 099e6b13e7
Battleship (#16)
* project: testing

* feat: updated testing configs

* feat: ship class and test

* feat: more testing

* feat: gameboard logic/tests complete

* feat: add player methods

* feat: add main app

* sync: pushing latest code to repo

* feat: add some basic styling and stuff

* feat: added UI logic

* feat: basic game is finished

* feat: add adjacent rules

* feat: basic game complete
2024-04-02 16:45:56 -04:00

22 lines
427 B
JavaScript

module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: ['eslint:recommended', 'prettier'],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
overrides: [
{
files: ['tests/**/*'],
plugins: ['jest'],
env: {
'jest/globals': true,
},
},
],
};