diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 263932e6..00000000 --- a/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -vendor/ -views/build/ diff --git a/.eslintrc.json b/.eslintrc.json deleted file mode 100644 index ace28d76..00000000 --- a/.eslintrc.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "env": { - "browser": true, - "es6": true - }, - "parserOptions": { - "ecmaVersion": 2017, - "sourceType": "module" - } -} diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 00000000..7bacb7b3 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,5 @@ +export default [ + { + ignores: ["vendor/", "views/build/"], + }, +]; diff --git a/package.json b/package.json index 3f7ee1da..235961a5 100644 --- a/package.json +++ b/package.json @@ -35,5 +35,6 @@ "*.{json,scss,css,md}": [ "prettier --write" ] - } + }, + "type": "module" }