Skip to content

Commit

Permalink
[2017] Update NPM packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kfarnung committed Sep 5, 2024
1 parent 874cf3b commit db12cea
Show file tree
Hide file tree
Showing 5 changed files with 893 additions and 646 deletions.
17 changes: 0 additions & 17 deletions 2017/.eslintrc.json

This file was deleted.

38 changes: 38 additions & 0 deletions 2017/eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
const globals = require('globals');
const js = require('@eslint/js');

const {
FlatCompat,
} = require('@eslint/eslintrc');

const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

module.exports = [...compat.extends('eslint:recommended'), {
languageOptions: {
globals: {
...globals.commonjs,
...globals.node,
},

ecmaVersion: 12,
sourceType: 'commonjs',
},

rules: {
indent: ['error', 2, {
SwitchCase: 1,
}],

'linebreak-style': ['error', 'unix'],

quotes: ['error', 'single', {
avoidEscape: true,
}],

semi: ['error', 'always'],
},
}];
Loading

0 comments on commit db12cea

Please sign in to comment.