File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55//
66// NOTE: Keep this file in sync with `./eslint.base.config.js`!
77
8- const config = require ( "." ) ;
8+ const config = require ( "./index.js " ) ;
99
1010const includeDeprecated = ! process . env . ESLINT_CONFIG_PRETTIER_NO_DEPRECATED ;
1111
Original file line number Diff line number Diff line change 1010
1111const globals = require ( "globals" ) ;
1212const base = require ( "./eslint.base.config" ) ;
13- const index = require ( "./index .js" ) ;
13+ const flat = require ( "./flat .js" ) ;
1414const prettier = require ( "./prettier" ) ;
1515const eslintrc = require ( "./.eslintrc" ) ;
1616
1717module . exports = [
1818 ...base ,
19- index ,
19+ flat ,
2020 prettier ,
2121 {
2222 rules : eslintrc . rules ,
Original file line number Diff line number Diff line change 4747 "scripts" : {
4848 "prettier" : " prettier --write ." ,
4949 "release" : " clean-pkg-json && changeset publish" ,
50- "test" : " yarn test:prettier && ESLINT_CONFIG_PRETTIER_NO_DEPRECATED=true yarn test:with-env && ESLINT_USE_FLAT_CONFIG=false yarn test:with-env && yarn build " ,
50+ "test" : " yarn test:prettier && ESLINT_CONFIG_PRETTIER_NO_DEPRECATED=true yarn test:with-env && ESLINT_USE_FLAT_CONFIG=false yarn test:with-env" ,
5151 "test:cli-sanity" : " node ./bin/cli.js index.js" ,
5252 "test:cli-sanity-warning" : " node ./bin/cli.js react.js ./bin/cli.js" ,
5353 "test:deprecated" : " eslint-find-rules --deprecated index.js" ,
You can’t perform that action at this time.
0 commit comments