AllCops:
  Exclude:
    - 'lib/nokogiri/css/parser.rb' # generated by racc
    - 'lib/nokogiri/css/tokenizer.rb' # generated by rex
    - 'lib/nokogiri/jruby/nokogiri_jars.rb' # generated by jar-dependencies

Metrics/BlockNesting:
  Exclude:
    - ext/nokogiri/extconf.rb
    - scripts/**
    - test/html5/test_tree_construction.rb

Metrics/CollectionLiteralLength:
  Exclude:
    - nokogiri.gemspec

Naming/FileName:
  Exclude:
    - rakelib/**

Performance/CollectionLiteralInLoop:
  Exclude:
    - test/**/*

Performance/StringIdentifierArgument:
  Exclude:
    - test/**/*
