* build(deps): bump the next group with 2 updates Bumps the next group with 2 updates: [next](https://github.com/vercel/next.js) and [eslint-config-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-config-next). Updates `next` from 14.2.15 to 15.0.0 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/compare/v14.2.15...v15.0.0) Updates `eslint-config-next` from 14.2.15 to 15.0.0 - [Release notes](https://github.com/vercel/next.js/releases) - [Changelog](https://github.com/vercel/next.js/blob/canary/release.js) - [Commits](https://github.com/vercel/next.js/commits/v15.0.0/packages/eslint-config-next) --- updated-dependencies: - dependency-name: next dependency-type: direct:production update-type: version-update:semver-major dependency-group: next - dependency-name: eslint-config-next dependency-type: direct:development update-type: version-update:semver-major dependency-group: next ... Signed-off-by: dependabot[bot] <support@github.com> * migrated eslint config --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Deepak Prabhakara <deepak@boxyhq.com>
18 lines
414 B
JavaScript
18 lines
414 B
JavaScript
const tsParser = require("@typescript-eslint/parser");
|
|
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("next/core-web-vitals"), {
|
|
languageOptions: {
|
|
parser: tsParser,
|
|
},
|
|
}]; |