File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1313
1414 strategy :
1515 matrix :
16- node-version : [16.x, 18.x, 20.x]
16+ node-version : [20.x]
1717
1818 steps :
1919 - name : Checkout repository
Original file line number Diff line number Diff line change 11{
22 "name" : " eslint-plugin-ft-flow" ,
33 "description" : " Flowtype linting rules for ESLint by flow-typed" ,
4- "version" : " 3.0.9 " ,
4+ "version" : " 3.0.10 " ,
55 "license" : " MIT" ,
66 "main" : " ./dist/index.js" ,
77 "repository" : {
88 "type" : " git" ,
99 "url" : " https://github.com/flow-typed/eslint-plugin-ft-flow"
1010 },
11- "engines" : {
12- "node" : " >=12.22.0"
13- },
1411 "scripts" : {
1512 "build:flow" : " flow-copy-source --ignore '*.spec.*' src dist" ,
1613 "build" : " rimraf ./dist && NODE_ENV=production babel ./src --out-dir ./dist --copy-files && yarn build:flow" ,
6259 "rimraf" : " ^3.0.2"
6360 },
6461 "peerDependencies" : {
65- "eslint" : " ^8.56.0" ,
62+ "eslint" : " ^8.56.0 | ^9.0.0 " ,
6663 "hermes-eslint" : " >=0.15.0"
6764 },
6865 "keywords" : [
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { suppressionTypes } from '../utilities';
77const FLOW_STRICT_MATCHER = / ^ \s * .* @ (?: n o ) ? f l o w \s * s t r i c t (?: - l o c a l ) ? \s * .* / u;
88
99const isStrictFlowFile = ( context ) => context
10+ . getSourceCode ( )
1011 . getAllComments ( )
1112 . some ( ( comment ) => FLOW_STRICT_MATCHER . test ( comment . value ) ) ;
1213
You can’t perform that action at this time.
0 commit comments