feat: ship class and test

This commit is contained in:
Smigz 2024-02-20 14:22:30 -05:00
parent 36bf0c07d6
commit 685020dc94
14 changed files with 9884 additions and 0 deletions

21
battleship/.eslintrc.js Normal file
View file

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