File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 22//
33// SPDX-License-Identifier: AGPL-3.0-only
44
5- const js = require ( "@eslint/js" ) ;
6-
7- const {
8- FlatCompat,
9- } = require ( "@eslint/eslintrc" ) ;
5+ import js from "@eslint/js" ;
6+ import { FlatCompat } from "@eslint/eslintrc" ;
107
118const compat = new FlatCompat ( {
12- baseDirectory : __dirname ,
9+ baseDirectory : import . meta . dirname ,
1310 recommendedConfig : js . configs . recommended ,
1411 allConfig : js . configs . all
1512} ) ;
1613
17- module . exports = [ {
14+ export default [ {
1815 ignores : [ "projects/**/*" ] ,
1916} , ...compat . extends (
2017 "eslint:recommended" ,
Original file line number Diff line number Diff line change 11{
22 "name" : " frontend" ,
33 "version" : " 0.11.0" ,
4+ "type" :" module" ,
45 "scripts" : {
56 "ng" : " ng" ,
67 "start" : " ng serve" ,
You can’t perform that action at this time.
0 commit comments